Intro to Programming Using Open Government Data: Difference between revisions
Content added Content deleted
imported>Shauna No edit summary |
imported>Shauna No edit summary |
||
Line 6: | Line 6: | ||
Goal: Create open gov projects based off of the [https://openhatch.org/wiki/Boston_Python_Workshop_7/Saturday_projects Python Workshop Saturday projects]. |
Goal: Create open gov projects based off of the [https://openhatch.org/wiki/Boston_Python_Workshop_7/Saturday_projects Python Workshop Saturday projects]. |
||
Three project ideas: |
|||
* API project |
|||
* Stats project |
|||
* Graphical - displaying data project |
|||
===API project=== |
===API project=== |
||
What do we want people to learn? |
'''What do we want people to learn?''' |
||
* What an API is. |
* What an API is. |
||
* Using the URL bar to query an API vs doing so within a script. |
* Using the URL bar to query an API vs doing so within a script. |
||
* Endpoints and return values. Get vs put vs post vs delete |
* Endpoints and return values. Get vs put vs post vs delete |
||
Good possible APIs to use:<br /> |
'''Good possible APIs to use''':<br /> |
||
Capitol Words? Or general Real Time Congress, or Influence Explorer. The key is that whichever API we use should be as simple as possible, with straightforward attribute names. |
Capitol Words? Or general Real Time Congress, or Influence Explorer. The key is that whichever API we use should be as simple as possible, with straightforward attribute names. |
||
What should the API do? |
'''What should the API do?''' |
||
* Show how easy it is to access government data online. |
|||
* |
|||
* Show examples of querying - how to look for intersects, unions, if-then, etc. |
|||
* Maybe link it to a simple display - html page? |