<commit_before># facebewk

[![Build Status](https://travis-ci.org/kopf/facebewk.svg?branch=master)](https://travis-ci.org/kopf/facebewk)

facebewk is a clever little Python wrapper for the facebook Graph API. 

It is designed to minimise the number of HTTP requests, while providing a developer-friendly, dynamic representation of
data pulled from the API. 

## Getting Started

### Requirements

`pip install -r requirements.txt`

Then, get an API access token, create your Client object, and start querying!

## Using facebewk

[Click here](http://ventolin.org/2012/09/facebewk) to read a blog-post I wrote when I released facebewk. 

It can be fairly well summarised in the following interactive python session:

````python
>>> from facebewk import Client
>>> c = Client('FACEBOOK_ACCESS_TOKEN')
>>> me = c.get('me')
>>> type(me)<commit_msg>Clarify doc<commit_after># facebewk

[![Build Status](https://travis-ci.org/kopf/facebewk.svg?branch=master)](https://travis-ci.org/kopf/facebewk)

facebewk is a clever little Python wrapper for the facebook Graph API. 

It is designed to minimise the number of HTTP requests, while providing a developer-friendly, dynamic representation of
data pulled from the API. 

## Getting Started

### Requirements

`pip install -r requirements.txt`

Then, get an API access token, create your Client object, and start querying!

## Using facebewk

[Click here](http://ventolin.org/2012/09/facebewk) to read a blog-post I wrote when I released facebewk. 

It can be fairly well summarised in the following interactive python session:

````python
>>> from facebewk import Client
>>> c = Client('FACEBOOK_USER_ACCESS_TOKEN')
>>> me = c.get('me')
>>> type(me)
{'fraction_non_alphanumeric': 0.10999408633944412, 'fraction_numerical': 0.007096392667060911, 'mean_word_length': 4.875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5052687', 'n_tokens_mistral': 526, 'n_tokens_neox': 522, 'n_words': 188}