Metadata-Version: 2.1
Name: Museum-API-conversions
Version: 0.0.3
Summary: Museum_API objects which converts in json form and then json to pdf,html,xml,csv formats
Home-page: UNKNOWN
Author: Affan
License: UNKNOWN
Keywords: API conversion,python API conversions,Museum_API_conversions
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown


# Museum_API_conversions

Converts Museum_API objectIDs into pdf, html, csv and xml files.

## usage

Make sure you have python installed in your system

Run following command in command prompt

pip install Museum_API_conversions 

## Example

from Museum_API_conversions import MuseumAPI

api = MuseumAPI(Museum_API_url)

df = api.api_to_dataframe(1, 5)

The above step is must in order to convert dataframe into html, csv and xml

## parameters

Museum_API(url=Museum_API_url)

url contains the url of Museum_API objectIDs

api.api_to_dataframe(st=None, sp=None)

default st and sp will be 0 to 50

if st parameter is None then by default it will be 0

if sp parameter is None then by default it will be st+50

## Note

objectIDs are between 0 and 830985

