Giter Site home page Giter Site logo

evepubliccrest's Introduction

EVE Online Public Crest Market API - PHP

Build Status Packagist Maintenance Made With Love

Eve Online Public Crest Market API is a set of Laravel classes that can be used in a Laravel project and is in fact tied to Laravel as a dependency.

We provide the providers, facade and the core classes each documented with its own README.

Each class and call creates a log (or set of) that is stored in the Laravel storage/logs.

API Key?

You do not ned a token or an API key to access the EVE Online Public Crest API.

Return Values

All Api Calls, documented below, will return either decoded JSON or a container. The container will be an array of arrays.

Decoded JSON allows you to do things like $decodedJSON->property->nestedProperty You will need to view the appropriate end point of each API call facade to seen what the data would look like coming back.

Containers are also created to store either a set of pages, so it would be an array of arrays each array in the parent array would contain a decoded JSON object or it might be an array of arrays where the array in the parent array contains other data such as id's as well as the decoded JSON object.

We suggest you store this data inside a database of some kind.

The Logs Give me a bunch of Curl 52 Errors

These are unavoidable. They Are hard to track down and even harder to deal with. You cannot catch them in a try catch. This seems to be an issue with the EVE Online Public Crest API or an issue with Guzzle or your environment.

How ever Eve Public Crest allows for 20 concurrent connections when we do pool based requests. We do only 18 as to not hit the rate limit. If you see any 503 errors then we have hit the rate limit and thats an issue with us.

What do I do about curl 52 errors?

I am unsure. If you have a solutions I would gladly take a PR.

Classes

Each of the classes are documented below. Each class has its own set up and use documentation.

Logs and responses

Each of the classes have a series of data that they log and return. All pool requests and guzzle requests are logged to there appropriate set of files.

Regarding URL Information.

Some of the classes and there associated methods that fetch data either build or require a url to be passed in. Nine times out of ten a previous class method or call has fetched you a response that contains this information for you.

As a result it is assumed you are saving this information to a database some where so that you can then access the information that some of the other methods require easier with out running into errors.

All of the information you need for each request can be found (and is documented) in a previous call.

Contributing

All PR's made will run against Travis CI and will not be accepted until they are passing. All PR's are welcome.

All Issues are welcome.

evepubliccrest's People

Contributors

adamkyle avatar

Watchers

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