Quick Start
Install egytech_api
This package requires Python 3.11 or older. In order to install it with pip, use the following command:
pip install egytech_apiMake your first API request
Since the EgyTech API does not implement any authorization procedures or rate limits, we can freely make anonymous requests directly with no authorization. We'll jump right to that!
Create a Participants Client Instance
Participants Client InstanceNow let's make a simple Participants object that fetches survey responders who work in back-end and have computer science degrees.
from egytech_api.core import Participants
# Create a Participants object
participants = Participants(title="backend", cs_degree=True)Export Your Data to a pandas.DataFrame Instance
pandas.DataFrame InstanceNow, let's export the data we got from the egytech_api to a nice pandas DataFrame, which we can use for manipulation or visualization.
# Export the data as pandas.DataFrame
df = participants.get_df()
# Print the first 5 rows of the dataframe
df.head()Output of the above code snippet:
Last updated