semvec/pypi-packages huggingface dataset:
PyCrowdTangle 0.5.0
A Python Wrapper To Retrieve Data From The CrowdTangle API
License: MIT
Keywords: crowdtangle,wrapper-api

# PyCrowdTangle

A Python Wrapper To Retrieve Data From The [CrowdTangle API](https://github.com/CrowdTangle/API)

## Install

```
pip install PyCrowdTangle
```
### Update
```
pip install PyCrowdTangle -U
```
## Example

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/UPB-SS1/PyCrowdTangle/blob/master/examples/pycrowdtangle_example.ipynb)

## Usage

### ct_get_posts
```python
import PyCrowdTangle as pct

#retrieve data from CrowdTangle
# get the api_token from https://apps.crowdtangle.com/
# you can locate your API token via your crowdtangle dashboard
# under Settings > API Access.

data = pct.ct_get_posts(api_token="AKJHXDFYTGEBKRJ6535")

import pandas as pd

df = pd.DataFrame(data['result']['posts'])

#show results
df.head()
```
### ct_get_links
```python
import PyCrowdTangle as pct

#retrieve data from CrowdTangle
# get the api_token from https://apps.crowdtangle.com/
# you can locate your API token via your crowdtangle dashboard
# under Settings > API Access.

data = pct.ct_get_links(link= 'http://www.queenonline.com/', platforms='facebook',
                     start_date='2019-01-01',api_token="AKJHXDFYTGEBKRJ6535")

import pandas as pd

df = pd.DataFrame(data['result']['posts'])

#show results
df.head()
```

### ct_get_lists
```python
import PyCrowdTangle as pct

#retrieve data from CrowdTangle
# get the api_token from https://apps.crowdtangle.com/
# you can locate your API token via your crowdtangle dashboard
# under Settings > API Access.

data = pct.ct_get_lists(api_token="AKJHXDFYTGEBKRJ6535")

#show results
print(data)
```
Hal9k-API 0.1.2
The HackerLab 9000 API Server.
License: MIT
Keywords: hacker hacking lab laboratory virtual machine virtualbox vm flask

# Hal9k-Overmind-API
The HackerLab 9000 Overmind API server.

## What is Hal9k-Overmind-API?
This is a back-end server designed to provide HTTP API access to the [HackerLab 9000 Library](https://github.com/haxys-labs/Lib-Hal9k).

## Future Goals
In the future, this API will include the ability to set up playlists, user authentication, access control, and more. The end goal is to create an API capable of being integrated with any number of front-end systems.

## Installation

`pip install Hal9k-API`

_Note: This requires the VirtualBox SDK to be properly installed and configured. Instructions will be added to this repository soon._

## Usage

To start the API server:

`python3 -m hal9k_api`

The API runs in debug mode on port 5000. It's accessible via HTTP methods:

```
haxys@straylight:~$ curl -X GET http://localhost:5000/
This is the HackerLab 9000 Overmind API Server. For more information, see <a href='https://github.com/haxys-labs/Hal9k-Overmind-API'>the GitHub repository</a>.
haxys@straylight:~$ curl -X GET http://localhost:5000/get_tracks/
{"tracks": ["Kali 2020.2 x64", "Debian 9.11 x64"]}
```

# Changelog

* **0.1.2** :: Refactored code; API remains consistent.
* **0.1.1** :: Fixed some minor bugs.
* **0.1.0** :: Implemented `get_tracks` functionality.