Skip to content

This is a REST and Graphql API on Call of Duty Modern WarFare 2.The API is deployed on Render

Notifications You must be signed in to change notification settings

kanake10/ModernWarfare

Repository files navigation

README

This is a REST and Graphql API on Call of Duty Modern WarFare 2.The API is deployed on Render

BASE_URL

https://modern-warfare.onrender.com

Endpoint for fetching Vehicles.

https://modern-warfare.onrender.com/vehicles

Endpoint to fetching operators.

https://modern-warfare.onrender.com/operators

Endpoint to fetching missions.

https://modern-warfare.onrender.com/missions

You can also pass an id to your missions url to fetch a specific mission

Endpoint for fetching maps

https://modern-warfare.onrender.com/maps

This endpoint also supports pagination using the will_paginate gem to query maps using the page parameter,it is also possible to query maps using the per_page parameter

Example while using pagination https://modern-warfare.onrender.com/maps?page=1

GRAPH QL The url to query and retrieve data is

https://modern-warfare.onrender.com/graphql

Example of a query

query {
  guns {
    name
    image
    description
    real_life
  }
}

About

This is a REST and Graphql API on Call of Duty Modern WarFare 2.The API is deployed on Render

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages