Code Monkey home page Code Monkey logo

public-api-client's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

public-api-client's Issues

Pagination parse bug

When there are only 2 pages of results, the second page is never loaded.
This bug exists on both the licenses and the offers, when browsing the yielded results.

Replace curl/curl with guzzle

The curl/curl package is hardly maintained and is missing some interesting features like curl_multi_exec.
The guzzlehttp/guzzle package is way more popular and complete.
We should switch to Guzzle.

Bug in PublicApiClient::getFamilyClient()

To reproduce this bug, try to use the Family Client through PublicApiClient::getFamilyClient().

The code wasn't rebased properly as it still tries to use $this->curler which doesn't exist anymore.

OfferClient::find() doesn't work if a filter is passed in an associative array

This call doesn't work:

$client->find([
    OfferClient::DATA_FILTERS => [
        Offer::COLUMN_SKU => [
            'a' => 'ABCD-1234',
        ],
    ]
]);

There is a bug inside the API as it should return a 400 if it can't recognize the data in the payload.
But the library should just apply array_values on the filters to avoid this problem.

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.