A simple API, made for frontend developers to test and help develop ther UI/UX designs, by providing them dummy/placeholder data
Quick start
You can find the full documentaion at imkowalski.github.io/PoofData/
You can either selfhost the project, or use the link for the API is:
https://poofdata.whs.dk
This link is free to use, but there is a rate limit of 1 call per second, if you want to bypass this you should selfhost the project, to learn how to you can read more about it her.
To get going you test if the api works by pinging /api/
https://poofdata.whs.dk/api/
and you should get a response that looks like this
{
"message": "I'm the Poof API",
"status": 200
}
Endpoints
Here is a list of all endpoints with a link to see the possible arguments for the diffrent endpoints
- /api/image/gen_identicon/
- /api/image/gen_image
- /api/user/profile
- /api/object/comment
- /api/object/post
- /api/bulk/posts/
- /api/bulk/profiles/
- /api/bulk/images/
Known Errors
- there is an error with bulk where the ids make the api endpoints fail. the error code is:
File "/var/task/gen_data/gen_bulk.py", line 7, in gen_posts posts.append(gen_obj.gen_post(time.time()+i)) File "/var/task/gen_data/gen_obj.py", line 31, in gen_post "id": int(str(seed)[-6:]), ValueError: invalid literal for int() with base 10: '.39185'
Made by Michal Kowalski Licensed under the GNU AGPLv3