<reponame>dangoldin/pyproducthunt<filename>analyze.py
from phapi import ProductHuntApi
import settings
import json

pha = ProductHuntApi(settings.DEVELOPER_TOKEN)

posts = pha.get_posts()

print json.dumps(posts, indent=2)
from phapi import ProductHuntApi
import settings
import json

pha = ProductHuntApi(settings.DEVELOPER_TOKEN)

posts = pha.get_posts()

print json.dumps(posts, indent=2)