Feature Request: Add time of event/match as well as selection by day

Open
#76 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start at get_results() and trace how the sports_results.tables.games response is parsed, then inspect how request parameters are assembled. Done means game entries expose the event time and callers can select a day through a request parameter rather than embedding it in the query.

Written by the indexing model from the issue text.

Description

In the following response for get_results(), it tells me all the information about who would be playing in the Australian Open - this defaults to the current day, but the semi finals for example have two matches occurring on different days; e.g 1/23/2025 and 1/24/2025.

  1. I think this technically parses the google result. Would it be possible to also provide the match time under the games key?
  2. potentially add a date option for request params rather than have it in the query field itself
{
  "search_metadata": {
    "id": "6792966332bd4e64409494d4",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/4a226faf7e70e98c/6792966332bd4e64409494d4.json",
    "created_at": "2025-01-23 19:20:03 UTC",
    "processed_at": "2025-01-23 19:20:03 UTC",
    "google_url": "https://www.google.com/search?q=Australian+Open+Mens&oq=Australian+Open+Mens&sourceid=chrome&ie=UTF-8",
    "raw_html_file": "https://serpapi.com/searches/4a226faf7e70e98c/6792966332bd4e64409494d4.html",
    "total_time_taken": 1.49
  },
  "search_parameters": {
    "engine": "google",
    "q": "Australian Open Mens",
    "google_domain": "google.com",
    "device": "desktop"
  },
  "search_information": {
    "query_displayed": "Australian Open Mens",
    "total_results": 877000000,
    "time_taken_displayed": 0.36,
    "organic_results_state": "Some results for exact spelling but showing fixed spelling",
    "spelling_fix": "Australian Open Men's",
    "showing_results_for": "Australian Open Men's"
  },
  "sports_results": {
    "title": "Australian Open",
    "date": "Jan 6–26, 2025",
    "tables": {
      "title": "Men's Singles",
      "games": [
        {
          "date": "today Jan 23",
          "stage": "Semi-final",
          "location": "Rod Laver Arena",
          "players": [
            {
              "name": "N. Djokovic",
              "ranking": "7",
              "thumbnail": "https://serpapi.com/searches/6792966332bd4e64409494d4/images/411b54b601d7eccc5fac87b69eabd5cf93b16a3cf4f463d7f4dbebb04d0864a1e279dacb0056e9e6904b0652dec7601d5b7773938700f258.png"
            },
            {
              "name": "A. Zverev",
              "ranking": "2",
              "thumbnail": "https://serpapi.com/searches/6792966332bd4e64409494d4/images/411b54b601d7eccc5fac87b69eabd5cf93b16a3cf4f463d7f4dbebb04d0864a1369430c667aa63267839ed1296473811d141cfe36b68d58b.png"
            }
          ]
        }
      ]
    }
  },
Dominant language
Python
Stars
756
Forks
118
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from serpapi/google-search-results-python

All issues in serpapi/google-search-results-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.