Spiral gives your agent every tool with one account. Browse the tools →

opencode · Social Media

How to Use Twitch channel schedule in opencode

Returns a Twitch channel's scheduled streams with start and end times, titles, categories, and cancellation flags. Use it to build a viewing calendar or compare planned broadcast slots.

Prompts to try with Twitch channel schedule in opencode

Copy an example into opencode, or ask in your own words.

Use Twitch channel schedule for emongg and add a schedule table to this project showing returned start times, end times, titles, and cancellation status.

Twitch channel scheduleopencode
Try asking
  • Use Twitch channel schedule for gamesdonequick and write a calendar export in this project for returned future slots, excluding canceled entries.

  • Use Twitch channel schedule for riotgames and esl_cs, then add a function that finds overlapping scheduled broadcasts in the next seven days.

  • Use Twitch channel schedule for emongg and implement a comparison against the project's previous saved response, reporting changed start times, titles, and cancellation flags.

  • Use Twitch channel schedule for gamesdonequick and add a report that totals scheduled hours over the next seven days from the returned start and end times.

How to set up Twitch channel schedule in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Twitch channel schedule

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/twitch-user-schedule",
        "input": {
          "handle": "emongg"
        }
      }'

Then paste one of the prompts above: opencode finds Twitch channel schedule on Spiral, shows the price and runs it.

Twitch channel schedule providers and prices

Spiral runs Twitch channel schedule through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Twitch · User Schedule
scrapecreators/twitch-user-schedule

What can you do with Twitch channel schedule in opencode?

Build a Twitch viewing calendar from scheduled start and end times in your project. Add cancellation handling and compare successive responses to show changes to published slots.

Build a viewing calendar

Turn returned Twitch stream slots into calendar entries with local start and end times. Exclude canceled slots and use titles where supplied.

Compare broadcast overlaps

Compare scheduled slots across public gaming or esports channels to identify simultaneous broadcasts and plan viewing priorities.

Prepare an editorial rundown

Give an esports editor a chronological list of returned broadcast slots, including scheduled titles, categories, and durations.

Check schedule changes

Compare successive responses for a public creator channel and report changed times, titles, and cancellation flags.

Plan campaign coverage

Compare a campaign's intended coverage window with a public creator's published stream slots. Use the overlap to prepare a discussion about broadcast timing.

Draft a community viewing guide

Create a daily or weekly guide from the returned schedules of public event channels. Include local times and omit slots marked canceled.

Estimate scheduled production hours

Calculate planned broadcast duration from returned start and end times for a selected period. Label the total as scheduled hours rather than hours actually streamed.

Questions about Twitch channel schedule in opencode

Can opencode use Twitch channel schedule?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Twitch channel schedule like any built-in tool.

How much does Twitch channel schedule cost in opencode?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need a ScrapeCreators account to use Twitch channel schedule in opencode?

No. Spiral runs Twitch channel schedule on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Twitch channel schedule in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Twitch channel schedule runs?

Twitch channel schedule runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What details does a Twitch schedule contain?

The documented response includes scheduled start and end times, titles, categories, and cancellation flags. Titles and categories can be empty, as they are in the provider's example.

Does the schedule include every broadcast a channel will make?

No. Twitch lets channels go live without scheduling a broadcast, and some broadcasters have never created a schedule. An empty schedule does not establish that a channel will stay offline.

Are scheduled start times exact?

Twitch explicitly allows broadcasters to enter an estimated start time. Use the returned time as a viewing plan, not confirmation that a broadcast has begun.

Can a published Twitch schedule change?

Yes. Broadcasters can edit the details of individual scheduled streams, so a previously retrieved slot can change. Recheck the schedule before preparing a time-sensitive reminder.

Which time zone do Twitch schedule timestamps use?

Twitch defines scheduled start timestamps in UTC using RFC3339 format. Convert them to the viewer's requested time zone when building a calendar or briefing.

Get started

Start using Twitch channel schedule in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options