Giter VIP home page Giter VIP logo

chimpr's People

Contributors

btibert3 avatar jdtrat avatar sckott avatar

Stargazers

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

Watchers

 avatar

chimpr's Issues

Support for Segments endpoints

Thanks so much for this package!

Any chance support for the GET portions of the lists segments endpoints (https://mailchimp.com/developer/marketing/api/list-segments/ and https://mailchimp.com/developer/marketing/api/list-segment-members/) could be implemented? Segments are mailchimps way of breaking audiences (lists) into discrete groupings, allowing a single audience to be used for multiple target groups. I use this to ensure contact information is consistent across an account as well as cutting down on subscription costs for duplicate contacts.

Goal would be to list the available segments and get the members that comprise each segment within an audience.

Thanks again!

parameter count not working

list <- ChmpList$new(conn, count = 10,id = "*****")

Error in .subset2(public_bind_env, "initialize")(...) :
unused argument (count = 10)

Harcoded Datacenter

This issue is to address the hardcoded datacenter found in chmp_base in zzz.R . With the hardcoded datacenter, a call to my account fails.

> options(stringsAsFactors = FALSE)
> library(chimpr)
> ## API Key
> Sys.setenv(MAILCHIMP_KEY = "mykeyhere-us17")
> ## get a list of campaigns
> chmp_ping()
Error: 
  type: http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/
  title: Wrong Datacenter
  status: 403
  detail: The API key provided is linked to a different datacenter
  instance: 9258381c-5176-43d4-bb49-ada6a02f8b47
> devtools::session_info()
Session info ---------------------------------------------------------------------------------------------------
 setting  value                                 
 version  R version 3.4.4 RC (2018-03-08 r74373)
 system   x86_64, darwin15.6.0                  
 ui       RStudio (1.1.423)                     
 language (EN)                                  
 collate  en_US.UTF-8                           
 tz       America/New_York                      
 date     2018-08-15                            

Packages -------------------------------------------------------------------------------------------------------
 package   * version    date       source                        
 base      * 3.4.4      2018-03-09 local                         
 chimpr    * 0.0.4.9100 2018-08-15 Github (sckott/chimpr@99e032b)
 compiler    3.4.4      2018-03-09 local                         
 crul        0.6.0      2018-07-10 cran (@0.6.0)                 
 curl        3.2        2018-03-28 CRAN (R 3.4.4)                
 datasets  * 3.4.4      2018-03-09 local                         
 devtools    1.13.3     2017-08-02 CRAN (R 3.4.1)                
 digest      0.6.15     2018-01-28 cran (@0.6.15)                
 graphics  * 3.4.4      2018-03-09 local                         
 grDevices * 3.4.4      2018-03-09 local                         
 httpcode    0.2.0      2016-11-14 cran (@0.2.0)                 
 jsonlite    1.5        2017-06-01 CRAN (R 3.4.0)                
 memoise     1.1.0      2017-04-21 CRAN (R 3.4.0)                
 methods   * 3.4.4      2018-03-09 local                         
 R6          2.2.2      2017-06-17 CRAN (R 3.4.0)                
 Rcpp        0.12.18    2018-07-23 cran (@0.12.18)               
 stats     * 3.4.4      2018-03-09 local                         
 tools       3.4.4      2018-03-09 local                         
 triebeard   0.3.0      2016-08-04 CRAN (R 3.4.0)                
 urltools    1.7.1      2018-08-03 cran (@1.7.1)                 
 utils     * 3.4.4      2018-03-09 local                         
 withr       2.1.0      2017-11-01 CRAN (R 3.4.2)                
 yaml        2.1.19     2018-05-01 cran (@2.1.19)     

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.