Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
V3.0-8
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVanAssche committed Mar 8, 2017
0 parents commit b3d4d94
Show file tree
Hide file tree
Showing 1,121 changed files with 164,168 additions and 0 deletions.
Empty file added docs/giphy_api.md
Empty file.
Binary file added docs/harbour-sailfinder-structure.dia
Binary file not shown.
Binary file added docs/harbour-sailfinder-structure.dia~
Binary file not shown.
Binary file added docs/harbour-sailfinder-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/harbour-sailfinder.zip
Binary file not shown.
17 changes: 17 additions & 0 deletions docs/harbour-sailfinder/docs/classes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Classes

Sailfinder V3.0 will move to object oriented programming so I want a good idea on how I am going to split the API parts.

### Tinder

**Profile**<br>
Will contain all the information about the user his profile such as:
- Pictures
- Current location
- Bio
- Schools
- Job
- Gender
- Interested in
- Max search radius
- ...
44 changes: 44 additions & 0 deletions docs/harbour-sailfinder/docs/facebook_api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Facebook Graph API
_with Python Requests_

**Only for reference since the API clearly documented on the Facebook Developer pages.**

### Get all albums of users
```
fb_albums = session.get("https://graph.facebook.com/v2.6/" + fb_user_id + "/albums?access_token=" + fb_token)
```

Parameter info:

<table>
<tbody>
<tr>
<td>fb_user_id</td>
<td>**string**: The user id from Facebook for this app.</td>
</tr>
<tr>
<td>fb_token</td>
<td>**string**: A valid FB token for this app and this user.</td>
</tr>
</tbody>
</table>

### Get all photos of users
```
fb_photos = session.get("https://graph.facebook.com/v2.6/" + fb_album_id + "/photos?access_token=" + fb_token)
```

Parameter info:

<table>
<tbody>
<tr>
<td>fb_album_id</td>
<td>**string**: The album id from Facebook which can be get by quering all the albums from Facebook.</td>
</tr>
<tr>
<td>fb_token</td>
<td>**string**: A valid FB token for this app and this user.</td>
</tr>
</tbody>
</table>
541 changes: 541 additions & 0 deletions docs/harbour-sailfinder/docs/facebook_api.md.html

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docs/harbour-sailfinder/docs/giphy_api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# GIPHY API
_with Python Requests_

**Sniffed by myself**

```
search_word = search_word.replace(" ", "+") #Confirm with the Giphy API
gifs = session.get("http://api.giphy.com/v1/gifs/search?q=" + search_word + "&api_key=fBEDuhnVCiP16"
```

Parameter info:

<table>
<tbody>
<tr>
<td>search_word</td>
<td>**string**: The word on which you want to find GIFs.</td>
</tr>
</tbody>
</table>

Note: You need to replace every space in the search word by '+' for the GIPHY API.

*The GIPHY API key for the app Tinder is: `fBEDuhnVCiP16`*
524 changes: 524 additions & 0 deletions docs/harbour-sailfinder/docs/giphy_api.md.html

Large diffs are not rendered by default.

Loading

0 comments on commit b3d4d94

Please sign in to comment.