https://github.com/bill-greatness/go-json-samples-api
Generate placeholder JSON samples for your projects.
https://github.com/bill-greatness/go-json-samples-api
api-rest golang-examples json
Last synced: 3 months ago
JSON representation
Generate placeholder JSON samples for your projects.
- Host: GitHub
- URL: https://github.com/bill-greatness/go-json-samples-api
- Owner: bill-greatness
- Created: 2022-04-19T07:27:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-29T18:01:27.000Z (about 4 years ago)
- Last Synced: 2025-03-24T17:53:02.968Z (over 1 year ago)
- Topics: api-rest, golang-examples, json
- Language: Go
- Homepage:
- Size: 742 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Goxide Samples.
Use this API to generate JSON Sample data for your test projects. Information for Users, Products,Todos, Posts and Comments.
## Users
You can generate up to 100 User data per request. by default, you'll have 10 users. you may pass a total query parameter to your call.
User ID is used across all data and can be used to get information for all users in all other fields except products.
### Usage Examples
```
goxide.com/users?total=35
```
``` Sample User Data ```
{
}
## Todos
You get a default of 10 todos on a single call.
``` Sample Todo Data ```
{
}
## Posts
Get a default of 20 posts on a single call. you can use the ?total query to specify the number of posts needed.
``` Sample Post Data ```
{
}
## Comments
Get General comments or pass comments with a specific post id to get comments under a single posts.
``` Sample Comment Data ```
{
}
## Products
Refer to the side navigation for http methods available for all information.