Calling All Developers 
Connect with fellow code ninjas in the Constant Contact Community.

Reply
Highlighted
Occasional Contributor
Posts: 3
Registered: ‎02-17-2017
Accepted Solution

API functionality for pulling images from Library to an Android App

I'm working on a junior developer team.

 

We are trying to develop an app for a charity. 

Currently our client has their own website, but the uses constant contact to create weekly emails to a selected group.  These images don't go live on the main website at all. They are uploaded to the constant contact library, an email newsletter is created & then sent.  Rather than having to create an database and rest server ourselves, we were hoping we could use the API from constant contact to retrieve images uploaded by the Charity to the library & use these images in our App.

 

This would mean that the Charity does not have to log onto another system & the app would integrate with their existing systems / processes.

 

Does the API have the functionality to let us access the images and pull them down to an app? 

 

We're a java team who are learning Android if that's relevant.

 

Apologies if this is a complete noob question!

 

 

Posts: 82
Topics: 0
Kudos: 9
Blog Posts: 1
Ideas: 0
Solutions: 9
Registered: ‎06-21-2016

Re: API functionality for pulling images from Library to an Android App

Hello Bob,

 

Thank you for reaching out to Constant Contact's API Support.

 

Our API does have the ability for you to receive the URL that is associated with the image in the customers library. Once you have the URL it would just be a matter of having your app save that image to itself from the URL. Please take a look at our documentation for how to GET the Library files (https://developer.constantcontact.com/docs/mylibrary-files-api/file-resource-api.html?method=GET). Also please check the rest of the documentation associated with our Library API as well for accessing library folders etc.

Regards,
Jimmy D.
API Support Specialist
Occasional Contributor
Posts: 3
Registered: ‎02-17-2017

Re: API functionality for pulling images from Library to an Android App

Hi Jimmy

 

Thank  you so much for your reply!

 

It's made us really exicted about what we can create for the client now :-)

 

One follow on question. Is there any additional fee  or cost for the client in their plan if we have say 100 people or more pulling images from their data base through an App?

 

 

Moderator
Posts: 81
Registered: ‎07-03-2012

Re: API functionality for pulling images from Library to an Android App

Hello,

 

There isn't any additional fee to use our API for the account. The only concern I might have about how many people you have accessing the one account is you may inadvertently run into one of our traffic limitations. Standard API Keys have a limit of 4 calls per second, and 10,000 calls per day. If you have too many people trying to access at the same time, you may get an error that you have hit this limit.

 

Please let me know if you have any other questions!

 

Sincerely,

David B.

API Support Specialist