API Tools
GitHub API, HTTP requests, and search engine integrations.
9 modules
| Module | Description |
|---|---|
| GitHub इश्यू बनाएं | GitHub रिपॉजिटरी में नया इश्यू बनाएं |
| Create GitHub Pull Request | Create a new pull request in a GitHub repository |
| GitHub रिपॉजिटरी प्राप्त करें | GitHub रिपॉजिटरी के बारे में जानकारी प्राप्त करें |
| GitHub इश्यू सूचीबद्ध करें | GitHub रिपॉजिटरी से इश्यू सूचीबद्ध करें |
| List GitHub Repositories | List repositories for a GitHub user or the authenticated user |
| Google Search (API) | Use Google Custom Search API to search keywords |
| HTTP GET Request | Send HTTP GET request to any URL |
| HTTP POST Request | Send HTTP POST request to any URL |
| Google Search (SerpAPI) | Use SerpAPI to search keywords (100 free searches/month) |
Modules
GitHub इश्यू बनाएं
api.github.create_issue
GitHub रिपॉजिटरी में नया इश्यू बनाएं
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
owner | string | Yes | - | Repository owner |
repo | string | Yes | - | Repository name |
title | string | Yes | - | Issue title |
body | text | No | - | Issue description (Markdown supported) |
labels | array | No | - | Issue labels |
assignees | array | No | - | GitHub usernames to assign |
token | string | Yes | - | GitHub Personal Access Token (required for creation) |
Output:
| Field | Type | Description |
|---|---|---|
status | string | Operation status (success/error) |
issue | object | Issue information |
number | number | Issue or PR number |
url | string | URL address |
Example: Example
owner: myorg
repo: myproject
title: Bug: Login fails
body: Users cannot log in after the latest deployment.
labels: ["bug", "urgent"]Create GitHub Pull Request
api.github.create_pr
Create a new pull request in a GitHub repository
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
owner | string | Yes | - | Repository owner |
repo | string | Yes | - | Repository name |
title | string | Yes | - | Pull request title |
body | text | No | - | Pull request description (Markdown supported) |
head | string | Yes | - | The branch that contains your changes |
base | string | No | main | The branch you want to merge into |
draft | boolean | No | False | Create as draft pull request |
token | string | Yes | - | GitHub Personal Access Token (required for creation) |
Output:
| Field | Type | Description |
|---|---|---|
status | string | Operation status (success/error) |
pr | object | Pull request information |
number | number | Pull request number |
url | string | Pull request URL |
Example: Example
owner: myorg
repo: myproject
title: Add user authentication
body: Implements OAuth2 login flow with Google and GitHub providers.
head: feature/auth
base: mainGitHub रिपॉजिटरी प्राप्त करें
api.github.get_repo
GitHub रिपॉजिटरी के बारे में जानकारी प्राप्त करें
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
owner | string | Yes | - | रिपॉजिटरी मालिक (यूज़रनेम या संगठन) |
repo | string | Yes | - | रिपॉजिटरी मालिक (यूज़रनेम या संगठन) |
token | string | No | - | रिपॉजिटरी नाम |
Output:
| Field | Type | Description |
|---|---|---|
status | string | GitHub पर्सनल एक्सेस टोकन (वैकल्पिक लेकिन अनुशंसित) |
repo | object | ऑपरेशन स्थिति (सफलता/त्रुटि) |
name | string | ऑपरेशन स्थिति (सफलता/त्रुटि) |
full_name | string | रिपॉजिटरी जानकारी |
description | string | आइटम का नाम |
stars | number | पूर्ण रिपॉजिटरी नाम |
forks | number | आइटम विवरण |
url | string | GitHub रिपॉजिटरी के बारे में जानकारी प्राप्त करें |
Example: Example
owner: octocat
repo: Hello-WorldGitHub इश्यू सूचीबद्ध करें
api.github.list_issues
GitHub रिपॉजिटरी से इश्यू सूचीबद्ध करें
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
owner | string | Yes | - | Repository owner |
repo | string | Yes | - | Repository name |
state | select (open, closed, all) | No | open | Issue state filter |
labels | string | No | - | Filter by labels (comma-separated) |
limit | number | No | 30 | Maximum number of issues to fetch |
token | string | No | - | GitHub Personal Access Token |
Output:
| Field | Type | Description |
|---|---|---|
status | string | Operation status (success/error) |
issues | array | The issues |
count | number | Number of items |
Example: Example
owner: facebook
repo: react
state: open
limit: 10List GitHub Repositories
api.github.list_repos
List repositories for a GitHub user or the authenticated user
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
owner | string | Yes | - | GitHub username, or "me" for authenticated user |
type | select (all, owner, member) | No | all | Filter repositories by type |
sort | select (created, updated, pushed, full_name) | No | updated | Sort repositories by field |
limit | number | No | 30 | Maximum number of repositories to return |
token | string | No | - | GitHub Personal Access Token (optional, required for private repos and "me") |
Output:
| Field | Type | Description |
|---|---|---|
status | string | Operation status (success/error) |
repos | array | List of repositories |
count | number | Number of repositories returned |
Example: Example
owner: octocat
sort: updated
limit: 10Example: Example
owner: me
type: owner
sort: pushedGoogle Search (API)
core.api.google_search
Use Google Custom Search API to search keywords
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
keyword | string | Yes | - | Search keyword or query |
limit | number | No | 10 | Maximum number of results |
Output:
| Field | Type | Description |
|---|---|---|
status | string | ऑपरेशन स्थिति |
data | array | खोज परिणाम डेटा |
count | number | खोज परिणामों की संख्या |
total_results | number | कुल परिणाम गणना |
Example: Search Python tutorials
keyword: python tutorial
limit: 10HTTP GET Request
core.api.http_get
Send HTTP GET request to any URL
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | - | URL to navigate to |
headers | object | No | {} | HTTP request headers as key-value pairs |
params | object | No | {} | URL query string parameters as key-value pairs |
timeout | number | No | 30 | Maximum time to wait in seconds |
verify_ssl | boolean | No | True | Verify SSL certificates |
Output:
| Field | Type | Description |
|---|---|---|
status_code | number | HTTP स्थिति कोड |
headers | object | प्रतिक्रिया हेडर्स |
body | string | प्रतिक्रिया बॉडी |
json | object | JSON प्रतिक्रिया (यदि लागू हो) |
Example: Fetch API data
url: https://api.github.com/users/octocatHTTP POST Request
core.api.http_post
Send HTTP POST request to any URL
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | - | URL to navigate to |
headers | object | No | {} | HTTP request headers as key-value pairs |
body | string | No | - | Text content to process |
json | any | No | - | HTTP request body content (JSON, text, or form data) |
timeout | number | No | 30 | Maximum time to wait in seconds |
verify_ssl | boolean | No | True | Verify SSL certificates |
Output:
| Field | Type | Description |
|---|---|---|
status_code | number | HTTP status code |
headers | object | HTTP headers |
body | string | Response body content |
json | object | Parsed JSON response data |
Example: Post JSON data
url: https://api.example.com/users
json: {"name": "John", "email": "john@example.com"}Google Search (SerpAPI)
core.api.serpapi_search
Use SerpAPI to search keywords (100 free searches/month)
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
keyword | string | Yes | - | Search keyword or query |
limit | number | No | 10 | Maximum number of results |
Output:
| Field | Type | Description |
|---|---|---|
status | string | Operation status (success/error) |
data | array | Output data from the operation |
count | number | Number of items |
Example: Search with SerpAPI
keyword: machine learning
limit: 10