PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 6, 2022

[FIXED] How to change the default return amount - MailChimp API Json

 September 06, 2022     arrays, json, mailchimp-api-v3.0     No comments   

Issue

I am having trouble. Trouble which i am sure is but a moments thought to resolve for our resident experts but, i must learn...

I am returning lists and as I understand it the default return is 25. I have a total of 93.

Below is what i am using (minus our API Key)

http://us1.api.mailchimp.com/1.3/?method=lists&apikey=

I believe that i need a piece of code [limit]=100 as MailChimp suggests but there are numerous pieces of advice on the website and after trying all i am still without my desired output.

If you could advise the way to do this I would be very grateful.

Thanks

Will. :)


Solution

Limit should work:

http://us1.api.mailchimp.com/1.3/?method=lists&apikey=YOUR_KEY&limit=100

It was working perfectly fine for me. Check if you are in the right region (in my case I was in us13).



Answered By - Apoorv Kansal
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing