https://github.com/simonhdickson/santaapi
https://github.com/simonhdickson/santaapi
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonhdickson/santaapi
- Owner: simonhdickson
- Created: 2013-12-13T16:04:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-13T17:26:51.000Z (over 12 years ago)
- Last Synced: 2025-12-26T21:49:33.732Z (6 months ago)
- Language: C#
- Size: 586 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Santa API
## Usage:
### Post santa your list
My ridiculously over engineered "api to santa", which is actually more like a list api. Made for the pebble{code} hack day, unfortunately I got distracted by the amazon api and didn't get a chance to fully feldge it.
Example:
POST /Simon/
Body:
```json
{
"list": [ "Sonos", "F#" ]
}
```
### Show your list to people
Example:
GET /Simon/
Response:
```json
{
"Message": "Hohoho, here you go",
"Result": [
"Sonos",
"F#"
]
}
```
### Get amazon links for your list
GET /Simon/amazon
```json
{
"Message": "Hohoho, here is what they want",
"Result": [
"http://www.amazon.co.uk/Sonos-PLAY-Black-Wireless-Hi-Fi/dp/B00FMS1KO0%3FSubscriptionId%3DAKIAIIQ3YASKHW4677JQ%26tag%3Dsimonhdickson-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00FMS1KO0",
"http://www.amazon.co.uk/Expert-3-0-3rd-Edition-Apress/dp/1430246502%3FSubscriptionId%3DAKIAIIQ3YASKHW4677JQ%26tag%3Dsimonhdickson-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1430246502"
]
}
```