Examples
- Register app from https://dev.hackaday.io/applications
- Fill in
clientId
,clientSecret
, anduserKey
in/server.js:18
npm i
in consolenode server
in console- Go To
http://localhost:3000
.
Ruby:
- To run install two gems:
gem install sinatra httparty
ruby server.rb
in console- Go to
http://localhost:4567/
. After authorizing, you should get back/v1/projects
JSON response
Python 2.7/3.4 using Tornado:
- Register app from https://dev.hackaday.io/applications
python -m pip install tornado
python server.py --client-id YOUR_ID --client-secret YOUR_SECRET --user-key YOUR_KEY
in console.- Go to
http://localhost:3000
.
For more information, see the Hackaday API docs and the Hackaday API Project on Hackaday.io