Skip to content

Example project written in Swift to show how to use Marvel Comic's API

License

Notifications You must be signed in to change notification settings

dadederk/MarvelComics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MarvelComics

This is an example project written in Swift to use the Marvel Comic's API.

Getting started

In order for the App to be able to get data from the Marvel API, you will need to register to Marvel's developer portal, tapping the Get Started button here: http://developer.marvel.com

Once you are registered, go to the Get a key or My Developer Account section of the web portal. You will see a public key and a private key.

Go to the file MarvelAPIConfig.plist inside the project, under the path: /MarvelComics/MarvelComics/ConfigFiles/. There you can introduce your public key as the value of the ApiKey key, and the private key as the value of the PrivateKey key.

Example:

If your 'api key' is '1234' and your 'private key' is 'abcd', the file should look like this:

<plist version="1.0">
<dict>
	<key>ApiKey</key>
	<string>1234</string>
	<key>PrivateKey</key>
	<string>abcd</string>
</dict>
</plist>

About

Example project written in Swift to show how to use Marvel Comic's API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published