> For the complete documentation index, see [llms.txt](https://stawa.gitbook.io/estraapi-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stawa.gitbook.io/estraapi-documentation/language-examples/python/examples.md).

# Examples

All examples of EstraAPI will be in this page with Python Language

### Function Examples

```python
import Estrapy
import asyncio

async def function():
    print(f"A Running GIF: {await Estrapy.Sfw.run()}")
    print(f"A Hug GIF: {await Estrapy.Sfw.hug()}")

asyncio.run(function())
```

### Discord.py Examples

```python
import Estrapy

@bot.command()
async def run(ctx): # Without Embed
    await ctx.send(Estrapy.Sfw.run())

@bot.command()
async def run(ctx): # With Embed
    embed = discord.Embed(title="Running GIF")
    embed.set_image(url=await Estrapy.Sfw.run())
    await ctx.send(embed=embed)
```
