Permalink
Browse files

Move to labs.data.gov URLs

This gives us live examples to demonstrate. Also, remove `&source_format=csv` from the URLs, since they're no longer necessary with URLs that explicitly end in `.csv`.
  • Loading branch information...
1 parent 9144b71 commit 9de7f1c82637312ce62003316495d34d587fab7b @waldoj waldoj committed Nov 23, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
View
@@ -46,27 +46,27 @@ Example Usage
All examples use [data from REXUS](http://catalog.data.gov/dataset/real-estate-across-the-united-states-rexus-inventory-building), the primary tool used by the Public Building Service to track and manage the government's real property assets and to store inventory data, building data, customer data, and lease information.
### Get CSV as JSONP (default behavior)
-http://example.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv
+http://labs.data.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv
### Get results as XML
-http://example.gov/csv-to-api/index.php?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&source_format=csv&format=xml
+http://labs.data.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&format=xml
-### Get results as JSONP
+### Get results as JSONP with a specified callback
-http://example.gov/csv-to-api/index.php?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&source_format=csv&format=json&callback=parse_results
+http://labs.data.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&format=json&callback=parse_results
### Get results as HTML
-http://example.gov/csv-to-api/index.php?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&source_format=csv&format=html
+http://labs.data.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&format=html
### Sort by a field
-http://example.gov/csv-to-api/index.php?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&source_format=csv&sort=Region
+http://labs.data.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&sort=Bldg+Zip
### Filter by a field
-http://example.gov/csv-to-api/index.php?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&source_format=csv&Depth=5.00
+http://labs.data.gov/csv-to-api/?source=http://www.gsa.gov/dg/data_gov_bldg_star.csv&Region+Code=11
License
-------

0 comments on commit 9de7f1c

Please sign in to comment.