wrapper for PyPI's JSON API