Glavin001 / Gocrata

RESTful, not stressful, API.
0 stars 0 forks source link

Automatically add Socrata customs #3

Open Glavin001 opened 11 years ago

Glavin001 commented 11 years ago

See https://opendata.socrata.com/views/ivbs-benj

Glavin001 commented 11 years ago

See /api/sources/ such as http://society.cs.smu.ca:5000/api/sources

Example source entry data:

 {
    "path": "https://www.halifaxopendata.ca/api",
    "name": "Halifax",
    "description": "This is the Halifax Socrata API."
  }

You can add sources manually by using Rethinkdb Data Explorer. Example adding Halifax as source using the command:

r.db('gocrata').table('sources').insert({'name':"Halifax", "path":"https://www.halifaxopendata.ca/api", "description":"This is the Halifax Socrata API."})

Or using the Node.js client driver for RethinkDB.