Giter Site home page Giter Site logo

pardot's People

Contributors

davejtoews avatar hglattergotz avatar hvt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pardot's Issues

404 throws RuntimeException instead of RequestException

Upon submitting a request to search for a list membership for a prospect, where no such membership exists I am finding it returns a 404, but rather than this being wrapped in a RequestException like the docs say, it is throwing a RunTimeException which makes it impossible to ascertain the status code as there is no way to get at the status code (even though it is there in the exception object)

PHP message: HGG\Pardot\Exception\RuntimeException Object                        
(                                                                                                                                                        
    [url:protected] => /api/listMembership/version/3/do/read                                                                                             
    [parameters:protected] => Array                                                                                                                      
        (                                                                                                                                                
            [api_key] => REDACTED                                                                                                
            [user_key] => REDACTED                                                                                               
            [format] => json                                                                                                                             
            [output] => full                                                                                                                             
            [prospect_id] => REDACTED                                                                                                                    
            [list_id] => REDACTED                                                                                                                           
        )                                                                                                                                                
                                                                                                                                                         
    [message:protected] => Client error response                                                                                                         
[status code] 404                                                                                                                                        
[reason phrase] Not Found                                                                                                                                
[url] https://pi.pardot.com/api/listMembership/version/3/do/read   

Support Pardot API v4

Pardot now has a v4 API, and new accounts don't seem to work with the v3 API. It would be great if the v4 API was supported by this package.

Upgrade guzzle/guzzle to guzzlehttp/guzzle

The former is deprecated and will be remove in future. Ideally this module should be upgraded to use guzzlehttp/guzzle v6 (or whatever is the most recent when it gets worked on!)

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.