Giter Site home page Giter Site logo

jacobsnyder / halo-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glitch100/halo-api

0.0 2.0 0.0 5.92 MB

Halo API - A C# Wrapper for the Halo 5 API - Easy to use, and implement. Open Source goodness for the community!

Home Page: https://www.nuget.org/packages/HaloEzAPI/

License: MIT License

C# 94.78% PowerShell 5.22%

halo-api's Introduction

Halo API

A C# Wrapper for the official Halo 5 API that can be seen at http://developer.haloapi.com - Easy to use, and implement. It contains all current endpoints, tests, a rate handler and a cache system!

Enjoy Halo 5 Guardians Game Data faster than ever before with this wrapper. Currently a WIP and soon to be finished and polished up, the API is updated almost daily with optimisations and more! Download it now, or utilise it via NuGet!

###Current Version: 1.0.4 Release Notes: Further bug fixes and issues for GitHub complete.

###Supported Features

  • Rate Handling and Limit on Requests!
  • Caching of Requests (hourly stats/daily meta)!

Stats

  • Get Matches ForPlayer
  • Get Arena PostGame Carnage Report
  • Get Custom PostGame Carnage Report
  • Get Campaign PostGame Carnage Report
  • Get Warzone PostGame Carnage Report
  • Get Arena Service Records
  • Get Campaign Service Records
  • Get Custom Game Service Records
  • Get Warzone Service Records

Meta Data

  • GetCampaignMissions
  • GetCommendations
  • Get CSR Designations
  • Get Enemies
  • Get Flexible Stats
  • Get Game Base Variants
  • Get Game Variants
  • Get Impulses
  • Get Map Variants
  • Get Maps
  • Get Medals
  • Get Playlists
  • Get Requisition Pack
  • Get Requistion
  • Get Skulls
  • Get Spartan Ranks
  • Get Team Colours
  • Get Vehicles
  • Get Weapons

Profile

  • Get Emblem Image
  • Get Spartan Image

####Usage

You can download the source or get it via NuGet! https://www.nuget.org/packages/HaloEzAPI

//Initialize service with API Token. Optionally provide base api url
var haloApiService = new HaloAPIService("MYAPITOKEN");
//Retrieve the player matches from an associated gamertag,with optional gamemode, 
//start and count
var playerMatches = await haloAPIService.GetMatchesForPlayer("Glitch100", GameMode.Arena);
//Example of returning gamevariants from the match result set 
var gameVariants = playerMatches.Results.Select(r => r.GameVariants);

####Future Features On the way

  • More advanced logic and determination
  • Culminating results into richer data

####Help? Contact me on Twitter @Glitch100

####Notes Please note that if you pull the repo the tests will need your API Key in order to pass as I haven't interfaced out the HttpClient and they rely on genuine data.

halo-api's People

Contributors

glitch100 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.