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

https://github.com/openuado/pymarvelsimple

A wrapper for Marvel API, easy to use.
https://github.com/openuado/pymarvelsimple

Last synced: about 2 months ago
JSON representation

A wrapper for Marvel API, easy to use.

Awesome Lists containing this project

README

        

Introduction
============

.. image:: https://img.shields.io/pypi/v/pymarvelsimple.svg
:alt: Latest release on the Python Cheeseshop (PyPI)
:target: https://pypi.python.org/pypi/pymarvelsimple

.. image:: https://travis-ci.org/hobbestigrou/pymarvelsimple.svg?branch=master
:alt: Build status of perf on Travis CI
:target: https://travis-ci.org/hobbestigrou/pymarvelsimple

PyMarvelSimple is a wrapper for Marvel API. Abstract the authorization and API
call.

Example:

.. code-block:: python

from pymarvelsimple.marvel import Marvel

marvel = Marvel(self.public, self.private)
characters = marvel.characters_list()

for character in characters.data.results:
print(character.name)

print(characters.last_page)

character = marvel.characters_detail_by_name(u'Thor')
print(character.data.results.name)

Play with marvel.