Skip to content

Latest commit

 

History

History
executable file
·
135 lines (70 loc) · 4.51 KB

readme.md

File metadata and controls

executable file
·
135 lines (70 loc) · 4.51 KB

Get Inspired to Practice

About ALOC

ALOC is an adventure-based CBT practice platform with an engaging game story that unravels as students progress in the game levels. We use gaming concepts to increase student practice time and grades.[https://aloc.com.ng]

  • Experience CBT in the game environment
  • Gain free access to unlimited past questions
  • Chat with students across Nigeria
  • Get paid for being smart
  • Learn for fun, play for glory

Finally, boring times are over, academic practice can now be Fun for students seeking university admission.

About ALOC Questions API

This app gives developers and educators access to our questions via API calls. You get free access to over 6,000 past questions for UTME, WASSCE, POST-UTME

Make API calls to have access to over 6,000 Major Nigeria past questions. 100% FREE

You can focus on building great apps for students with unlimited access to API calls for trivial questions of major exams in Nigeria

Our Goal

To have the largest open-source database of various past questions in Nigeria.

Call for Questions

Over 5,534,083 API questions request has been made to this library. Do you have questions you want to add to this database? We are excited to receive your mail at aloc.mass@gmail.com

Setup

  • php artisan composer update

  • In the project root directory create another copy of .env.example and rename it to .env

  • Generate application key php artisan key:generate

  • In .env file, supply values to DB_DATABASE, DB_USERNAME, DB_PASSWORD

  • php artisan migrate

  • You can load some dummy data into the database for testing php artisan db:seed --class=LoadDummyQuestions

  • Load report question types php artisan db:seed --class=ReportQuestionType this is optional

  • php artisan server to load app. You Got it!

Sample API call

Sign up at https://questions.aloc.com.ng to get Acces Token .

Visit https://github.com/Seunope/aloc-endpoints/wiki/API-Parameters for a sample API call with headers and parameters

Postman APIs Doc

https://documenter.getpostman.com/view/1319216/2s9YCBuA3V

API call Examples

Get a question

https://questions.aloc.com.ng/api/v2/q?subject=chemistry

Get many questions (returns 40 questions)

https://questions.aloc.com.ng/api/v2/m?subject=chemistry

Get several questions (limit 40)

https://questions.aloc.com.ng/api/v2/q/7?subject=chemistry

eg.

https://questions.aloc.com.ng/api/v2/q/23?subject=chemistry https://questions.aloc.com.ng/api/v2/q/30?subject=chemistry https://questions.aloc.com.ng/api/v2/q/4?subject=chemistry

Get a question by year

https://questions.aloc.com.ng/api/v2/q?subject=chemistry&year=2005

Get a question by exam type

https://questions.aloc.com.ng/api/v2/q?subject=chemistry&type=utme

Get a question by type and year

https://questions.aloc.com.ng/api/v2/q?subject=chemistry&year=2010&type=utme

Get question by id and subject

https://questions.aloc.com.ng/api/v2/q-by-id/1?subject=chemistry

For more detailed examples visit https://questions.aloc.com.ng

API Documentation

Vist the lib wiki to get access to some special features.API Documentation

  • Subject Metrics
  • API Parameters
  • Sample APIs
  • Subject & Year

ALOC Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going ALOC development. If you are interested in becoming a sponsor, please send a mail to Admin [aloc.mass@gmail.com]:

Contributing

Thank you for considering contributing to the ALOC Questions Api end points!

Buy Me A Coffee

Security Vulnerabilities

If you discover a security vulnerability within ALOC APIs, please send an e-mail to Admin via [aloc.mass@gmail.com](mailto:aloc.mass@gmail.com. All security vulnerabilities will be promptly addressed.

License

The ALOC API is open-sourced software licensed under the MIT license.