GithubHelp home page GithubHelp logo

yurypcf / igdb Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 1.0 112 KB

Rust IGDB API wrapper

Home Page: https://api.igdb.com/

License: Apache License 2.0

Rust 100.00%
games igdb igdb-api rust rust-lang video-game api

igdb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

xrtxn

igdb's Issues

[FEATURE] Add remaining apicalypse query methods

Description

Currently, IGDB crate only supports the following apicalypse query methods: fields, limit, search.
We need the remaining query methods: exclude, where, offset, sort.

Requirements

  • exclude working on the struct endpoint
  • where working on the struct endpoint
  • offset working on the struct endpoint
  • sort working on the struct endpoint

Details/Other

Look for APIcalypse for more info

[FEATURE] JSON Response

Description

Currently the crate only returns a vector of Rust structs to the consumer.
The crate should be able to optionally return pure JSON

Requirements

  • JSON Response on conditional call
  • Navigate through the JSON objects

Details/Other

--

[FIX] Handle API Errors

Description

When there's a API call error, it's very confusing
response_handler.rs is not working as intended.

Requirements

  • On the presence of API errors, we should be able to read the code and message from IGDB

Details/Other

--

[FIX] Convert Timestamps from endpoint resources

Description

Any endpoint resource response that contains a timestamp its not being converted from seconds to date.
We should implement this conversion to display the seconds in date.

Requirements

  • Be able to see converted timestamp from any resource response.

Details/Other

[FEATURE] Complete Character endpoint attributes

Description

As for now, the crate is serializing only id and name field for Character endpoint response.
Endpoint response should return any of the fields documented on IGDB

Requirements

  • Serialize/Deserialize the Character endpoint with all or any of the fields presented on IGDB docs
  • Enum values should have a translation method

Details/Other

--

[DOCUMENTATION] Update README

Description

Some new features has been merged and README should reflect that.

Requirements

  • Update README with the 0.3.0 and 0.2.0 versions features.

Details/Other

--

[CHORE] Check Repo licenses

Description

Repo uses APACHE and MIT licenses.
It should have a better detailed info on which the open source project should use.

Requirements

  • Have a prepared Open source repository with correct licenses

Details/Other

Reference

[FIX] Fields query method

Description

Currently when the consumer doesn't use the fields query method, it causes an error.
The absence of the fields query should be replaced with fields *; on the request body.

Requirements

  • fields *; should be automatically inserted on request body in case of its method absence.

Details/Other

[FEATURE] Add more endpoint attributes

Description

Proceeding with Endpoints attributes completion, we currently has the initial code for Game and Genre.
The PR closing this issue should be responsible for creating the remaining attributes and its enumerations.

Requirements

  • Serialize/Deserialize the Game endpoint with all or any of the fields presented on IGDB docs
  • Serialize/Deserialize the Genre endpoint with all or any of the fields presented on IGDB docs
  • Enum values should have a translation method

Details/Other

--

[DOCUMENTATION] Generate docs.rs

Description

Detail project for docs.rs Rust official documentation.

Requirements

  • Crate docs.rs properly documented

Details/Other

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.