KO
|
EN
gitlite — search
Search
#python
#react
#hacktoberfest
#javascript
#github
#json
#android
#java
#kubernetes
#python3
#nextjs
#readme
api-swgoh-help
★ 34
Open GitHub ↗
Connection wrapper for api.swgoh.help
Download README (.md)
Explore Similar Repositories
rezonator
:
Rezonator: Dynamics of human engagement
ObRegisterCallBacksByPass
:
old bypass
NCE-loss
:
Tensorflow NCE loss in Keras
embedded-tools
:
No description available.
terraform-ecs-fargate-service-discovery
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
api-swgoh-help
?
Download (.md)
# api-swgoh-help JavaScript client wrapper for the API at https://api.swgoh.help ## Usage Install via npm: npm install api-swgoh-help Require and initialize connection: const ApiSwgohHelp = require('api-swgoh-help'); const swapi = new ApiSwgohHelp({ "username":"YOUR_USERNAME", "password":"YOUR_PASSWORD", "client_id":"YOUR_ID", "client_secret":"YOUR_SECRET" }); Request player profile by allycode: let allycode = 123456789; const player = await swapi.fetchPlayer( allycode ); console.log( player ); Request guild roster by allycode: let allycode = 123456789; const guild = await swapi.fetchGuild( allycode ); console.log( guild ); Request available support data: let criteria = 'stats'; const data = await swapi.fetchData( criteria ); console.log( data ); criteria = 'events'; data = await swapi.fetchData( criteria ); console.log( data ); ## Data criteria * events * units * arena * gear * mod-sets * mod-stats * skills * skill-types * tb * zetas * zeta-abilities * zeta-recommendations * battles # Available Language Clients * JavaScript: https://github.com/r3volved/api-swgoh-help * Java: https://github.com/j0rdanit0/api-swgoh-help