Random Lottery Number generator API
Below is the documentation for the API calls. You can try them out right here.
AI & machine learning#openapi#text
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Below is the documentation for the API calls. You can try them out right here.
Endpoints 3
Lottery
- GETGET /lottery/countries
/lottery/countriesGet the complete list of countries supported in the number generation API. - GETGET /lottery/draw
/lottery/draw?game=string&count=0Generate random draw for a given lottery game. - GETGET /lottery/supported
/lottery/supported?country=stringGet the list of supported lottery games supported in the given country.
API details
- Base URL
https://api.fungenerators.com- Authentication
- An API key in the X-Fungenerators-Api-Secret header
- Operations
- 3 operations on 3 pathsGET 3
- Main resources
- Lottery 3
- Response formats
application/jsapplication/jsonapplication/xml- Description format
- Swagger 2.0, API version
1.5 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Random Lottery Number generator API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Random Lottery Number generator API collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-Fungenerators-Api-Secret header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “GET /lottery/countries” (GET /lottery/countries), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Random Lottery Number generator API?
Below is the documentation for the API calls. You can try them out right here. It is listed under AI & machine learning and has 3 endpoints.
Who publishes the Random Lottery Number generator API?
It is listed from FunGenerators.com's public API description (an OpenAPI document), not published by FunGenerators.com on Swastik Codes. Anyone who controls fungenerators.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Random Lottery Number generator API?
Requests go to https://api.fungenerators.com. Endpoint paths are added to this base URL.
How do I authenticate with the Random Lottery Number generator API?
With an API key in the X-Fungenerators-Api-Secret header.
How many endpoints does the Random Lottery Number generator API have?
3 operations on 3 paths (3 GET). The largest groups are Lottery.
Is forking the Random Lottery Number generator API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.