Skip to content

Commit

Permalink
rst is interesting
Browse files Browse the repository at this point in the history
  • Loading branch information
denzven committed Jun 17, 2021
1 parent 1be1b4e commit 461281c
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,28 @@ Import it like this:

Usage
------
Here are some examples on how to use this wrapper:
Here are some examples on how to use this wrapper
::

```py
>>> from DenzGraphingApiWrapper_py import DenzGraphingApiWrapper_py as GraphingApi

>>> formula = 'x**2+y**2-10'
>>> from DenzGraphingApiWrapper_py import DenzGraphingApiWrapper_py as GraphingApi

>>> GraphingApi.heroku_graph(formula)
'https://denz-graphing-api-heroku.herokuapp.com/graph?formula=x%2A%2A2%2By%2A%2A2-10'
>>> formula = 'x**2+y**2-10'

>>>GraphingApi.py_anywhere_graph(formula)
'http://denzven.pythonanywhere.com/graph?formula=%28x%2A%2A2%2By%2A%2A2-10'
```
you can use this url as a picture in discord and also in embeds like this:
>>> GraphingApi.heroku_graph(formula)
'https://denz-graphing-api-heroku.herokuapp.com/graph?formula=x%2A%2A2%2By%2A%2A2-10'

```py
from DenzGraphingApiWrapper_py import DenzGraphingApiWrapper_py as GraphingApi
insert epik code
>>>GraphingApi.py_anywhere_graph(formula)
'http://denzven.pythonanywhere.com/graph?formula=%28x%2A%2A2%2By%2A%2A2-10'


you can use this url as a picture in discord and also in embeds like this

::

from DenzGraphingApiWrapper_py import DenzGraphingApiWrapper_py as GraphingApi
insert epik code

```



Expand Down

0 comments on commit 461281c

Please sign in to comment.