Giter Club home page Giter Club logo

api_wrap_test's Introduction

Basic API Wrapper exercise

This basic app literally only queries for one entry, and only for one endpoint, which is /game/{id}

The Token/Key that authenticates the request also only lives in the controller itself, not in the env file. This will be rectified at a later date.

The app also utilizes the HTTParty gem to make things easier, and to consolidate the request and client classes into a single class.

Error handling has not been fully implemented, but the groundwork has been laid.

Will be improved at a later date, but basic querying capabilities are there.

Endpoints

GET /

Queries to the external rawg.io api and returns the details of all the games currently in rawg's database

GET /:slug

Query to the endpoint using the provided slug, returns the details fetched from rawg's database for the corresponding game slug

api_wrap_test's People

Contributors

bonbon197 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.