Code Monkey home page Code Monkey logo

hapipy's Introduction

hapipy

Overview Here

A python wrapper around HubSpot's APIs. Docs for this wrapper can be found here.

General API reference documentation can be found here.

hapipy's People

Contributors

aaylward avatar ack8006 avatar adamschwartz avatar adrianmott avatar bbeaudreault avatar fernandotakai avatar graysky avatar jaredmiwilliams avatar jessbrandi avatar jhaber avatar jpetr avatar marlier avatar mattfurtado avatar nirrattner avatar pennersr avatar recomputing avatar ritikamehta341994 avatar tpetr avatar yfaktor avatar yoavshapira avatar zackbloom 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hapipy's Issues

test_parallel_get_campaigns error due to no self.mixins()

test_parallel_get_campaigns has been failing for a long time... BaseClient used to have a mixins() method (i assme for injecting mixins), but now it's part of the constructor:

def __init__(self, api_key=None, timeout=10, mixins=[], access_token=None, refresh_token=None, client_id=None, **extra_options):

we need to update the test to pass PyCurlMixin to the constructor instead of using self.mixins()

Using outdated Leads API

Is this ever going to get updated? The Leads API for example was deprecated in December last year, and now there's no Python client for the Contacts API?

Alternatives to this library?

It seems like this package has been abandoned. Does anyone have an alternative? Or is everyone just writing their own custom wrappers to work with the HubSpot API from Python?

ValueError when refreshing token

When base.py tries to refresh a token upon a 401 error, a ValueError is raised because the syntax for log message format is incorrect.

Line 181 should read:

self.log.info('Retrying with new token %s' % (self.access_token))

not

self.log.info('Retrying with new token %' % (self.access_token))

The stack trace for the error is:

Traceback (most recent call last):
  <Our code elided>
  File "/Users/dylanl/Code/core/core-env/src/hapipy-master/hapi/workflows.py", line 34, in enroll_contact
  File "/Users/dylanl/Code/core/core-env/src/hapipy-master/hapi/base.py", line 209, in _call
    result = self._call_raw(subpath, params=params, method=method, data=data, doseq=doseq, query=query, retried=False, **options)
  File "/Users/dylanl/Code/core/core-env/src/hapipy-master/hapi/base.py", line 182, in _call_raw
    self.log.info('Retrying with new token %' % (self.access_token))
ValueError: incomplete format

I can create a PR if needed. My fork has a few other changes that aren't ready to merge and the change is so trivial I figured a PR would be overkill.

Py3k support?

Hey guys, is there any chance you will support py3k in a near future? Thanks.

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.