Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bryanjos/marvel

CLI and Elixir API Client for the Marvel API
https://github.com/bryanjos/marvel

Last synced: about 2 months ago
JSON representation

CLI and Elixir API Client for the Marvel API

Lists

README

        

Marvel
======

API client and CLI for the [Marvel API Client](http://developer.marvel.com/)

The API and CLI both looks for either a `marvel` config block with the following keys:

* `public_key` - Your Marvel Public Key
* `private_key` - Your Marvel Private Key

or looks for the following environment variables

* `MARVEL_PUBLIC_KEY` - Your Marvel Public Key
* `MARVEL_PRIVATE_KEY` - Your Marvel Private Key

[Documentation](http://hexdocs.pm/marvel/)

Usage for CLI Client:

```
usage: marvel [options]

commands:
characters Gets character data.
comics Gets comic data.
creators Gets creator data.
events Gets event data.
series Gets series data.
stories Gets story data.

"entity" in the options below correspond to the commands above.
You cannot the option if it has the same name as the command

invalid ex: marvel characters --characters

options:
-s --search [searchText] searches for entities that begin with the searchText
-i --id [id] the id of the entity
-co --comics the comics for the entity
-ev --events the events for the entity
-se --series the series for the entity (does not work for comics)
-st --stories the stories for the entity
-ch --characters the characters for the entity (does not work for creators)
-ch --creators the creators for the entity (does not work for characters)
```