Skip to content

Fromage.py is an API for the Atelier801's forums written in python.

Notifications You must be signed in to change notification settings

Athesdrake/Fromage.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fromage.py

Fromage.py is the implementation of the Fromage API created by Lautenschlager

Fromage.py is an API for the Atelier801's forums.

PRE-ALPHA

Installation

Install Fromage.py using pip: pip install pip install -U git+https://github.com/Athesdrake/Fromage.py

Requirements

  • Python 3.5.3 or higher. Earlier versions of Python are not supported
  • Fromage.py uses the aiohttp module. It's a library for asynchronous HTTP requests.

Discord

The fromage.py API is compatible only with the rewrite version of discord.py. discord.py is not required but if you want to install it, use: pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice].

Example

TODO: make it better. Uncertain result: I want to make it that way but it's W.I.P.

import fromage
import asyncio
import aiohttp

bot = fromage.Client()

@bot.event
async def on_new_pm(msg):
	print('You got a new private message from {.author} !'.format(msg))

bot.run('Username#0000', 'p455w0rd')

/!\ Use aiohttp instead of requests/urllib

About

Fromage.py is an API for the Atelier801's forums written in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages