Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include endpoint wrappers & types for Spaces API #62

Merged
merged 7 commits into from
Aug 27, 2021
Merged

Conversation

alkihis
Copy link
Collaborator

@alkihis alkihis commented Aug 24, 2021

#55 Include typings for brand new Spaces API (see https://developer.twitter.com/en/docs/twitter-api/spaces/overview).

  • .space: Get a single space by ID
  • .spaces: Lookup for spaces by IDs
  • .spacesByCreators: Lookup for spaces by creator user IDs
  • .searchSpaces: Lookup for spaces using a query on their title / state

bonus, batch compliance endpoints (https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/introduction)

  • .complianceJob: Get a job
  • .complianceJobs: List jobs
  • .sendComplianceJob: Create a job
  • .complianceJobResult: Await job resolution, fetch and parse its result

Doc ok + unit test ok + typings ok.

@alkihis alkihis added the enhancement New feature or request label Aug 24, 2021
@alkihis alkihis merged commit 19b4de6 into master Aug 27, 2021
@alkihis alkihis deleted the feature/spaces-v2 branch August 27, 2021 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant