https://g-learning.click/
-
GET continents
a. endpoint
https://g-learning.click/api/continents
b. params
null
c. response
array
d. method
GET
-
GET countries in a continents
a. endpoint
https://g-learning.click/api/continents/{id}
b. params
id ->integer example: 1,2
c. response
array with popular and countries
d. method
GET
-
GET topic of a country
a. endpoint
https://g-learning.click/api/countries/{id}/topics
b. params
id ->integer example: 1,2
c. response
array
d. method
GET
-
GET videos of a country topic
a. endpoint
https://g-learning.click/api/countries-topics/{id}/videos
b. params
id ->integer example: 1,2
c. response
array
-
Login
a. endpoint
https://g-learning.click/api/login
b. params
username: fasfdsdfdsfdsf password: 123456789
c. response
array { "message": "success", "data": { "status": true, "token": "4|VCL67xahQpnBQ1GsnoJ1hBOnOJ4vB58UjPxrwLke", "type": "Bearer Token" } }
d. method
POST
-
Register
a. endpoint
https://g-learning.click/api/register
b. params
[ username, password, password_confirm, phone ]
c. response
array
d. method
POST
e. Example
-
Search
a. endpoint
https://g-learning.click/api/countries-topics/{id}/videos?s={search}
b. params
id -> integer search-> string
c. response
array
d. example
e. method
GET
f. note
Please need to search from 2 symbols
-
Get information in maybe you don't know
a. endpoint
https://g-learning.click/api/information
b. param
null
c. response
an array with paginate
d. example
-
Get services information
a. endpoint
https://g-learning.click/api/services
b. response
{ "message": "success", "data": [ { "id": 1, "name": "Damien McCullough", "description": "https://via.placeholder.com/640x480.png/00cc00?text=animal+iusto", "price": 17000, "unit": "VND", "image": "https://via.placeholder.com/640x480.png/00cc00?text=animal+iusto" } ] }
-
Get levels of games
a. endpoint
https://g-learning.click/api/levels
b. METHOD
GET
-
Get list countries
a. endpoint
https://g-learning.click/api/countries?page={page}
b.method
GET
c. param
page -> integer
-
Get list question in a country(Game lv 1)
a. endpoint
https://g-learning.click/api/countries/{id}/questions
b. method
GET
c. param
id->integer
d. response
-
Create new history when user play game
a. endpoint
https://g-learning.click/api/countries/user-play-game
b. method
POST
c. example
-
Search Countries
a. endpoint
https://g-learning.click/api/continents/{id}?s={text}
b. method
GET
-
Error when expired trail days
a. endpoint
Every endpoints without: + payment + profile (include update profile)
b. method
GET
-
Store data after user play game
a. endpoint
https://g-learning.click/api/countries/{id}/history-play-game
b. method
POST
c. param
id->integer total_questions->integer| grater than total_correct_answers total_correct_answers->integer
-
Get review question
a. endpoint
https://g-learning.click/api/videos/{id}/questions
b. method
GET
c. param
id->integer
d. example
-
Search countries in game page a. endpoint
https://g-learning.click/api/countries?s={text}
b. method
GET