# Get today's trending Python repositories on GitHub

**Use case:** 

Reads today's GitHub trending list for Python and saves each repository with rank, owner, description, stars, forks, stars gained today and the contributors shown on the page. Great for developer newsletters, trend tracking and spotting new open source projects early. Change the language to follow any stack.

## Input

```json
{
  "mode": "trending",
  "trendingType": "repositories",
  "trendingLanguages": [
    "python"
  ],
  "trendingSince": "daily",
  "maxTrendingPerPage": 25,
  "trendingDetails": false,
  "searchQueries": [
    "web scraping language:python stars:>1000"
  ],
  "searchType": "repositories",
  "searchSort": "best-match",
  "searchOrder": "desc",
  "minStars": 0,
  "searchTopics": [],
  "createdWithinDays": 0,
  "pushedWithinDays": 0,
  "excludeArchived": false,
  "maxResultsPerQuery": 100,
  "splitLargeSearches": false,
  "fetchProfileDetails": true,
  "repositories": [
    "apify/crawlee"
  ],
  "usernames": [
    "apify"
  ],
  "includeUserRepos": true,
  "maxReposPerUser": 30,
  "userReposSort": "pushed",
  "excludeForks": false,
  "fetchRepoDetails": false,
  "includeReadme": false,
  "maxReadmeChars": 20000,
  "includeReleases": false,
  "maxReleasesPerRepo": 3,
  "maxRateLimitWaitSeconds": 90,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "trendingRank": {
    "label": "Rank",
    "format": "number"
  },
  "fullName": {
    "label": "Repository",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "stars": {
    "label": "Stars",
    "format": "number"
  },
  "starsInPeriod": {
    "label": "Stars today",
    "format": "number"
  },
  "forks": {
    "label": "Forks",
    "format": "number"
  },
  "builtBy": {
    "label": "Built by",
    "format": "array"
  },
  "topics": {
    "label": "Topics",
    "format": "array"
  },
  "license": {
    "label": "License",
    "format": "text"
  },
  "trendingLanguage": {
    "label": "Language filter",
    "format": "text"
  },
  "trendingPeriod": {
    "label": "Period",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The GitHub Scraper: Trending, Repos, Users, Search Actor is ready to run with the inputs already set for "Get today's trending Python repositories on GitHub". [Sign up or log in](https://console.apify.com/create-task-from-example/Ba0kpahfZNXDMtluF) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get today's trending Python repositories on GitHub" task

The GitHub Scraper: Trending, Repos, Users, Search Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, trending list, and more, to match your specific use case.

### 3. Receive the "Get today's trending Python repositories on GitHub" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as rank, repository, link, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get today's trending Python repositories on GitHub" task via API](https://apify.com/zhtech/github-scraper.md).

## FAQ

### What does the GitHub trending Python task return?

The GitHub trending Python task saves one row per trending repository: rank, full name, description, language, total stars, forks, stars gained today, built by contributors and the repository URL.

### How do I follow another language?

In the GitHub trending Python task, replace python with any GitHub language, such as typescript, rust or go, one per line. Leave the list empty for the overall trending page.

### Can I get the trending list every morning?

The GitHub trending Python task can run daily on an Apify schedule and send the list to Slack, Discord or email with an Apify integration, which builds a history of what trended.

### Does the GitHub trending Python task need a GitHub token?

The GitHub trending Python task reads the public trending page, so no token or API quota is needed. A token only helps when you add full API details or use search and repository modes.

### How much does the GitHub trending Python task cost?

The GitHub trending Python task uses pay per event pricing: a small start fee plus a fixed price per repository saved, with no charge for compute time. Small runs like this fit the Apify free plan credit.

## About this Actor

This example demonstrates how to use [GitHub Scraper: Trending, Repos, Users, Search](https://apify.com/zhtech/github-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/github-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhtech/github-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
