An open API service indexing awesome lists of open source software.

https://github.com/simonhdickson/santaapi


https://github.com/simonhdickson/santaapi

Last synced: 26 days ago
JSON representation

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"
]
}
```