Giter Club home page Giter Club logo

r_eve_crest's Introduction

r_eve_crest

REQUIRMENT: callback_url set to: http://localhost:1410/

Used to access eve authenticated crest endpoint. Focusing of market orders but can be used to access all of auth crest endpoints

IMPORTANT NOTE: no caching at this point, so it goes back to crest tree everytime You make a call

Another important note: no debugging or error handling in here whatsoever, it assumes all will work fine

R httr library handles refresh tokens very well so I didnt even had to write single character of code for it :) Whenever You will see "Auto-refreshing stale OAuth token." You can thank the developer for it :)

##simple example of usage:

token<-SETEVE("yourappname", "yourclientid", "yoursecret")
orders<-GETEVE_marketorders("The Forge","Moros Blueprint",token)
orders$buy[c("price","volume")]
       price volume
1          1      1
2    2111.11     11
3 1620001002      1
4  1.621e+09      1
5     220000      2
6 1621000000      2

##accessing endpoints diffrent than market

GETEVE("URL of endpoint", token) returns body of a call, so starting with:
GETEVE("https://crest-tq.eveonline.com/",token) and following $href of endpoint can get You anywhere within the CREST

#for example:

corporationRoles
token<-SETEVE("appname", "clientid", "secret")
crest<-GETEVE("https://crest-tq.eveonline.com/",token)
roles<-GETEVE(crest$corporationRoles$href,token)
roles$message
[1] "This is not third party enabled... yet" (CCP FoxFour is trolling my example :P)

r_eve_crest's People

Contributors

tetlanesh avatar

Stargazers

Boris Kourtoukov avatar

Watchers

Boris Kourtoukov 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.