pygnusocial
latest
  • API Reference
    • Accounts
    • ActivityStreams
    • Blocking
    • Configuration
    • Data structures
    • Direct messages
    • Exceptions
    • Friendships
    • Groups
    • Media uploads
    • OAuth
    • Search
    • Statuses
    • Timelines
    • Users
pygnusocial
  • Docs »
  • API Reference »
  • Search
  • View page source

Search¶

search.search(server_url, query, *args, **kwargs)¶

Returns a collection of statuses matching a specified query.

Accepts the same parameters as requests.get() except url.

Implements https://twitter-api.readthedocs.io/en/latest/search-api.html#get–api-search.json

Parameters:
  • server_url (str) – URL of the server
  • query (str) – UTF-8 encoded query
Return type:

list

Returns:

a list of status dicts

Next Previous

© Copyright Creative Commons CC0 - http://creativecommons.org/publicdomain/zero/1.0/. To the extent possible under law, dtluna has waived all copyright and related or neighboring rights to this work. Revision 9c58ac52.

Built with Sphinx using a theme provided by Read the Docs.