# Quick Start

## Install egytech\_api

This package requires Python 3.11 or older. In order to install it with pip, use the following command:

{% tabs %}
{% tab title="Python" %}
{% code fullWidth="false" %}

```python
pip install egytech_api
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Make 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`](https://abdulrahman-mustafa.gitbook.io/egytech-fyi-python-wrapper/reference/api-reference/participants) Client Instance

Now let's make a simple Participants object that fetches survey responders who work in back-end and have computer science degrees.

```python
from egytech_api.core import Participants

# Create a Participants object
participants = Participants(title="backend", cs_degree=True)
```

### Export Your Data to a [`pandas.DataFrame`](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html) Instance

Now, let's export the data we got from the egytech\_api to a nice pandas DataFrame, which we can use for manipulation or visualization.

```python
# Export the data as pandas.DataFrame
df = participants.get_df()

# Print the first 5 rows of the dataframe
df.head()
```

{% hint style="info" %}
**Note:** Boolean values all support any non-strict boolean input supported by Pydantic. Find them [here](https://docs.pydantic.dev/2.7/api/standard_library_types/#booleans). However, it's advised that you stick to strict boolean values supported by native Python.
{% endhint %}

#### Output of the above code snippet:

{% embed url="<https://embed.deepnote.com/b29d75ab-a623-4f8b-96df-b8c7c8e89535/97165b61d6774bcca8c8ac6a5f3e1782/2f837afdcc5a4d30a446a9de2a76c1c1?height=332.4166717529297>" %}
