Git Product home page Git Product logo

pipedrive-api's Introduction

Golang Pipedrive client

Build Status

Requires Go version 1.7 or greater.

Supported resources

  • Activities
  • ActivityFields
  • ActivityTypes
  • Authorizations
  • Currencies
  • Deals
  • DealFields
  • Files
  • Filters
  • Goals
  • Notes
  • NoteFields
  • Organizations
  • OrganizationFields
  • Persons
  • PersonFields
  • Pipelines
  • Products
  • ProductFields
  • Recents
  • SearchResults
  • Stages
  • Users
  • User connections
  • User settings
  • Webhooks

Installation

go get -v github.com/genert/pipedrive-api/pipedrive

Usage

import "github.com/genert/pipedrive-api/pipedrive"

Construct a new Pipedrive client, then use the various services on the client to access different parts of the API. For example:

    const apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

    client := pipedrive.New(&pipedrive.Config{
        APIKey: apiKey,
    })

    // Return list of all fields for note
    noteFields, _, _ := client.NoteFields.List()

    // You can then access data like this:
    fmt.Println("Success = ", noteFields.Success)
    fmt.Println("First note field: ", noteFields.Data[0].Name)

Integration Tests

You can run integration tests from the test directory. See the integration tests README.

Contributions & Issues

Contributions are welcome. Please clearly explain the purpose of the PR and follow the current style.

Issues can be resolved quickest if they are descriptive and include both a reduced test case and a set of steps to reproduce.

License

This library is distributed under the MIT license found in the LICENSE file.

pipedrive-api's People

Contributors

genert avatar kben 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.