Community

Share your ideas, questions and suggestions with Marvel and other developers here.

Comments

468 comments
Jakeman893
Jakeman893

Is there a way to get the variant cover .jpg's of a comic without needing to make multiple calls?

chepe4pi23
chepe4pi23

Hello!

How to get list of characters? I guess it's not realy possible. It isn't?

oshliaer
oshliaer

It's odd. I can't register an account with Russia. I have been add US and ZIP 90210. That was valid.

kdingal
kdingal

Hi everyone, is there any additional Artwork we can use for the CHARACTERS or do we need to create our own when developing a game?

rvr10
rvr10

I get an error "You must provide a hash" . Where can I find the api key

tgioihan
tgioihan

Hi all, i'm newbie here , currently with these api , we can get content of commic, eg images for chapter?

Jakeman893
Jakeman893

Some of the newer comics don't have character info when running a comics request. Is there something I missed or are these just missing for the time being?

nikospkrk
nikospkrk

As things are, it looks to me that a "story" is nothing more than the cover and the issue number of the serie, whereas the story is a totally different thing, like "The Cold" in Rocket Raccoon (2014-) #7.

Does anyone know how to fetch this info ? I believe it's not possible from the current API, but maybe I'm missing something (I hope).

Cheers!

avoision
avoision member

Wanted to try out the API. Got my key successfully, but when I go to the Interactive Documentation page, it continues to say that "You do not have an API key." My sense was that on login, your key would be automatically pre-filled for this page. I'm able to see the documentation, but all my test calls fail.


Tried logging out/in a few times, but no luck there. Am I missing something? Anyone else experiencing this?

avoision
avoision member

FYI two hours after getting my key, I'm able to make some test calls on the Interactive Documentation page. I happen to be in a different location, on a different machine. Not sure if that makes a difference.

kaoAbungHo
kaoAbungHo member

Hello all, I just downloaded MU and its great! But I've been having this one problem when I try to read some of the comics I get an error "failed to download issue resource" options are "skip or retry. Either option gives me the same message "Failed downloaded issue, an unknown error occurred. I can't finish reading the comic, is there a way I can start back reading the comic or any solutions on how to fix this? Thanks!

Mxtec
Mxtec

hello could have a scene where Stan Lee this cleaning up the mess of vindadores as a janitor and Thor's hammer is in a table oo Stan Lee raises the hammer to clean underneath and puts in more nimguem ve place would be amazing.

Mxtec
Mxtec

hello could have a scene where Stan Lee this cleaning up the mess of vindadores as a janitor and Thor's hammer is in a table oo Stan Lee raises the hammer to clean underneath and puts in more nimguem ve place would be amazing

mauryalamin
mauryalamin

I just signed up for an API key and received both a public and private key. But when I try to use the Interactive API Tester, it always says "You do not have an API key. You can view the documentation here but will not be able to test API calls. Get a key now."


Thanks

Ysix
Ysix

@mauryalamin How do you solve this problem ? I have the same right now. 


Thanks.

AlyssaMaltez
AlyssaMaltez

Please bring back Quicksilver for Avengers 3!!!!

LucasKA
LucasKA

Am I doing something wrong or is the data set the API uses wildly inconsistent or absent? I find even some of the biggest Marvel heroes don't have a description (Beast), the images are all inconsistent in size and aspect ratio.


I was building an exploratory device for the marvel universe, but what fun is just a list of hero names without any other data?


Regardless, it's really cool you guys are doing it, you should consider open sourcing it or allowing contributions and revisions to the data set.

dledford
dledford

So i have a question about first appearances. I have looked through the different calls and didn't find anything that would give the issue that was the first appearance of a character, did i miss it? Assuming i didn't, my idea was to just call all the comics for a characters limit result to 1 and order by onsale date.This doesn't seem to work. If i don't limit the number of comics this will work as long as the number of comics does not exceed the amount that can be returned in one call. below are some examples of spider-man id = 1009610 that i ran and the results i got that never had amazing fantasy 15 in the results. I'm thinking that the results that are returned in that one call are ordered but not all the results that exist are ordered and then returned. Any one have any thoughts on this?


call:

http://gateway.marvel.com:80/v1/public/characters/1009610/comics?orderBy=onsaleDate&limit=1&apikey=XXXXXXXXXXXXX

result snippet:

... "results": [ { "id": 17474, "digitalId": 0, "title": "Spider-Man: Spidey Strikes Back Vol. 1 Digest (Trade Paperback)"...

call:http://gateway.marvel.com:80/v1/public/characters/1009610/comics?orderBy=onsaleDate&apikey=XXXXXXXXXXXXX
result snippet:..."results": [ { "id": 20810, "digitalId": 8585, "title": "Spider-Man Fairy Tales (2007) #1",
...

arthurmde
arthurmde

Sometimes, when I try to import a Character's comic data I get no response at all. I've simulated the following request in Interactive Documentation and I sometimes I got anything: 

http://gateway.marvel.com:80/v1/public/characters/1009187/comics?limit=100&offset=100&apikey=4c4755780967752eecf76c08e8a89533

This usually happens when I try to import comics of a popular character (with more then 100 comics).

I think this must occur due to some internal server error. 

Does someone have the same problem?

Does someone have any idea about how I can fix this?

arthurmde
arthurmde

Now I got the following error:

Code: 500

Status: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 104


citti
citti

what language did you guys build the API with? 

soun042564
soun042564

I keep getting


{"code":"InvalidCredentials","message":"That hash, timestamp and key combination is invalid."}
What is a valid timestamp format to use in Java? I think that is my problem. I have 21:01:50 for ts. I used to have the Month and Day as well but that did not work.

dledford
dledford

@soun042564 I'm just using System.currentTimeMillis();

you could probably do something like new Date().getTime() if you wanted to as well

RFJustJon
RFJustJon plus member

Hi, I'm getting the following error:

{"code":"InvalidCredentials","message":"That hash, timestamp and key combination is invalid."}


My code in PHP is:

$ts=time();

$key=$ts.$this->oauth_token_secret.$this->oauth_token;

$md5key=md5($key);


$params['name']=$name;

$params['ts']=$ts;

$params['apikey']=$this->oauth_token;

$params['hash']=md5($ts.$this->oauth_token_secret.$this->oauth_token);


$url= 'http://gateway.marvel.com:80/v1/public/characters';

$url.= '?'.http_build_query($params);


Thanks.

Mr-rock
Mr-rock member

Hey developers at Marvel HQ! What's up with you, guys? We haven't heard any API news or update since May 2014. Are you still maintaining this API? Would be great to hear from you soon!

Rock On!

teletechnophiliac
teletechnophiliac

Hi all, I'm attempting to get at least the first 100 characters using jQuery and keep getting a 409 error of "That hash, timestamp and key combination is invalid." This is what I have for my parameters: 

var params = 

"ts": $.now().toString(), 

"apikey": publicAPIKey,

"hash": hash.toString()

"limit": 100;

};

I'm using the md5 function from php.js to generate my hash passing in the string of $.now.toString()  + privateAPIKey + publicAPIKey and the URL I'm accessing in my GET request is http://gateway.marvel.com/v1/public/characters (I'm also testing this via Safari). Any suggestions? Thanks so much!

pcab
pcab

@teletechnophiliac I think you should asign $.now to a var and then use it to calculate your hash and assign the ts value. From what you have shared seems like you are calling $now() 2 times

turiaso13
turiaso13

Any call to characters endpoint that contain the element at offset 569 return error 500

yongelee
yongelee

In the terms and conditions, it says no press releases or public notification. What about posting on social media and reddit, is that allowed?

ArnaudPiroelle
ArnaudPiroelle

Hi, 


I'm Android Developer.

There is 6 months, i have published first version of my app that use Marvel API.



Yesterday, an application update has been refused because data that i use are not mine.

Google asks verifiable documentation that my application is authorized by Marvel.


Where can i find this type of document?

Have you encounter the same problems for your applications?


Thanks !


yongelee
yongelee

What is the difference between Stories, Comics, Events, and Series for entity types? It seems as if events, stories, series seem pretty similar in definition

Amothor
Amothor

Hey guys, my name is Amos. I am a game designer.


I am researching Marvel API for mobile and web games.
Have games been made using this API?
If so, where can I find these or other API related apps?
Has anyone here been approved by Marvel to monetize his app?

Thanks :)


prolink007
prolink007

@Phoenix1092 I am using the exact url that was given to me in the examples in the interactive documentation. Is the interactive documentation not giving the exact url's we are supposed to use?

prolink007
prolink007

@Phoenix1092 I will look more into that soon. However, it says you would get one of the errors that are listed if this was the issue. I was not getting any of those errors. I was getting a 409 "Conflict" error.

Jakeman893
Jakeman893

@prolink007 @Phoenix1092 Not sure if you have fixed this yet, but copying and pasting from the interactive documentation will not work. Look up in the authorization How-To how you should sign your requests with a timestamp + publicapi + privateapi hash

marcrapp
marcrapp

Anyone see any spec sizes for image assets? Something without having to test for the return?

Phoenix1092
Phoenix1092

@marcrapp I'm not sure, but it seems like thumbnail has specified size for every entity. But still - gotta test that by request.

njacobs5074
njacobs5074

I did a quick scan through the REST interface and I was wondering if the entity relationships between characters, comic books, series, and so on have been documented anywhere?  It'd be helpful to know up front what these are.


Thanks!

njacobs5074
njacobs5074

@Phoenix1092 Thanks - I was hoping that Marvel had published a schema or entity relationship document so that we don't have to experiment with the API to figure out the relationships.  I see the basic relationships from looking the API calls, but it'd be helpful if we had an authoritative document.

njacobs5074
njacobs5074

@jczorkmid Of course!  Thanks for pointing that out.  It's even machine readable.  :)