Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

lra/api.pouet.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pouët API

Awesome ! Welcome dude !

For now, the API lives at http://api.pouet.net/ This is just a proof of concept, nothing serious, play with it, don't count on it yet.

Use this stuff

Get some demo info

GET /prod/:id

Returns:

{
    "id": 1337,
    "name": "Awesome Stuff",
    "download_url": "http://www.scene.org/this/is/leet.zip",
    "groups": [
        {
            "id": 42,
            "name": "Some Dudes",
            "website_url": "http://some.dud.es/"
        },
        {
            "id": 666,
            "name": "Bad guyz",
            "website_url": null
        },
    ]
}

Example: http://api.pouet.net/prod/1221

Get some group info

GET /group/:id

Returns:

{
    "id": 42,
    "name": "Some Dudes",
    "website_url": "http://some.dud.es/"
}

Example: http://api.pouet.net/group/123

Contribute to this shit

Yes, help me !

Setup a working env

git clone git@github.com:lra/pouet-api.git
git remote add heroku git@heroku.com:pouet-api.git
brew install heroku-toolbelt
brew install python
pip install -r pouet-api/requirements.txt

Push the source code

git push

Deploy a new version

git push heroku master

Obviously you can't do it without being allowed to

About

The Pouët API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages