Permalink
Browse files

Merge pull request #15 from waldoj/master

Move to labs.data.gov URLs and simplify examples
  • Loading branch information...
2 parents 9144b71 + 9de7f1c commit aed01120f35e1417f829af410958e324cf833002 @gbinal gbinal 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 aed0112

Please sign in to comment.