Search Search

yaml
type: "io.kestra.plugin.github.topics.Search"

Search for GitHub topics.

If no authentication is provided, anonymous authentication will be used. Anonymous authentication can't retrieve full information.

Examples

Search for topics.

yaml
id: github_topic_search_flow
namespace: company.team

tasks:
  - id: search_topics
    type: io.kestra.plugin.github.topics.Search
    oauthToken: your_github_token
    query: "micronaut framework is:not-curated repositories:>100"

Search for topics with conditions.

yaml
id: github_topic_search_flow
namespace: company.team

tasks:
  - id: search_topics
    type: io.kestra.plugin.github.topics.Search
    oauthToken: your_github_token
    query: "micronaut framework"
    is: NOT_CURATED
    repositories: >100

Properties

created

  • Type: string
  • Dynamic: ✔️
  • Required:

The query contains one or more search keywords and qualifiers.

You can use greater than, less than, and range qualifiers to further filter results.

is

  • Type: string
  • Dynamic: ✔️
  • Required:
  • Possible Values:
    • CURATED
    • FEATURED
    • NOT_CURATED
    • NOT_FEATURED

The query contains one or more search keywords and qualifiers.

CURATED - Matches topics that are curated

FEATURED - Matches topics that are featured on https://github.com/topics/

NOT_CURATED - Matches topics that don't have extra information, such as a description or logo

NOT_FEATURED - Matches topics that aren't featured on https://github.com/topics/

jwtToken

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub JWT token

Does not requires additional fields to log-in

login

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub login

Requires additional field: oauthToken, to log-in

oauthToken

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub oauthToken

GitHub Personal Access Token. In addition, can be used with login or by its own

order

  • Type: string
  • Dynamic:
  • Required:
  • Default: ASC
  • Possible Values:
    • ASC
    • DESC

Order of the output.

ASC - the results will be in ascending order

DESC - the results will be in descending order

query

  • Type: string
  • Dynamic: ✔️
  • Required:

The query contains one or more search keywords and qualifiers.

Allow you to limit your search to specific areas of GitHub.

repositories

  • Type: string
  • Dynamic: ✔️
  • Required:

Matches topics that have number of repositories.

You can use greater than, less than, and range qualifiers to further filter results.

Outputs

uri

  • Type: string
  • Required:
  • Format: uri

Was this page helpful?