PragyanAPI 0.6.5.6
python api hub | PragyanAPI
License: MIT
Requires Python: ~=3.7
Keywords: python, PragyanAPI, flask

# PragyanAPI 🚀

## Chatgpt AI 🤖

```
from PragyanAPI import api

# Execute Chatgpt AI with the input text

response = api.chatgpt("Write simple basic html website")

print(response)

# Execute Chatgpt AI with the input text with modes features

# available modes are "girlfriend","anime","animev2","flirt","santa","elonmusk"

response = api.chatgpt("hi babe","girlfriend")

print(response)

```

## Chatbot AI 🤖

```
from PragyanAPI import api

# Execute Chatbot AI with the input text

print(api.chatbot("hii"))
```

## Blackbox AI 🤖

```
from PragyanAPI import api

# Execute blackbox AI with the input text

print(api.blackbox("write flask app code"))
```

## Password Generator 💡

```
from PragyanAPI import api

# Generate a default length password
print(api.password())

# Generate a password of specific length (e.g., 10)
print(api.password(10))
```

## Gemini AI 🤖

```
from PragyanAPI import api

# Execute Gemini AI with the input text

print(api.gemini("write flask app code"))
```

## Datagpt AI 🤖

```
from PragyanAPI import api

# Execute datagpt AI with the input text
response = api.datagpt("what is data science")
print(response)
```

## BhagwatGita

```
from PragyanAPI import api
verse_data = api.bhagwatgita(1, 5)
print(verse_data)
```

## IMDB Search

```
from PragyanAPI import api


movie_data = api.imdb("The Godfather")

print(movie_data)
```

## Morse Decode

```
from PragyanAPI import api

decoded_result =api.morse_decode(".... . .-.. .-.. --- / .-- --- .-. .-.. -..")

print(decoded_result)
```

## Morse Encode

```
from PragyanAPI import api
encoded_result =api.morse_encode("enter text here")
print(encoded_result)
```

## Hastag Generator

```
from PragyanAPI import api
keyword = "python"
hashtags = api.hashtag(keyword)
print(hashtags)
```

## Unsplash Image Search

```
from PragyanAPI import api
response = api.unsplash("boy image")
print(response)

```

## LeetCode Information

```
from PragyanAPI import api

user_data = api.leetcode("PragyanCoder")
print(user_data)
```

## Pypi Info

```
from PragyanAPI import api
user_data = api.pypi("PragyanAPI")
print(user_data)
```

## Github Profile Information

```
from PragyanAPI import api
search_results = api.github("PragyanCoder")
print(search_results)
```

## Github Repo Search

```
from PragyanAPI import api
search_results = api.repo("AnnayanXMusic")
print(search_results)
```

## Random Meme

```
from PragyanAPI import api
search_results = api.meme()
print(search_results)
```

Please note that you need to install `PragyanAPI` using pip by running `pip install --upgrade PragyanAPI` in your terminal before executing these codes.

## Note:

<p> The above examples are for Python </p>

## Copyright (c) 2024-25

## Author : Noob-Pragyan 👨‍💻

# Functions in the api module are as follows:

1. <b>chatgpt(args) </b>- Executes chatgpt AI functionality
2. <b>gemini(args) </b>- Executes Gemini AI functionality
3. <b>blackbox(args) </b>- Executes blackbox AI functionality 🔮
4. <b>hastag(args) </b>- Generates hashtags based on input
5. <b>imdb(args) </b>- Fetches information from IMDB
6. <b>morse_encode(args) </b>- Encodes text into Morse code
7. <b>morse_decode(args) </b>- Decodes Morse code into text
8. <b>leetcode(args) </b>- Extract leetcode information by username
9. <b>password(args) </b>- Generates a random password
10. <b>pypi(args) </b>- Search PyPI for packages
11. <b>datagpt(args) </b>- Generates data using Datasets from datagpt ai
12. <b>unsplash(args) </b>- search hd image from unsplash website
13. <b>github(args) </b> - Extract github information by username
14. <b>repo(args) </b> - Extract github repo by name
15. <b> Meme</b> - Generate memes

<b>🔗 Have fun coding with PragyanAPI </b>

<h3 align="center">
    ─「 sᴜᴩᴩᴏʀᴛ 」─
</h3>

<p align="center">
<a href="https://telegram.me/PragyanCoderchat"><img src="https://img.shields.io/badge/-Support%20Group-blue.svg?style=for-the-badge&logo=Telegram"></a>
</p>
<p align="center">
<a href="https://telegram.me/pragyancoder"><img src="https://img.shields.io/badge/-Support%20Channel-blue.svg?style=for-the-badge&logo=telegram"></a>
</p>