Search
net.theprotocols.search(bool chronological, string text, list tags, string author, list sources, list languages, map time, map region, integer limit) -> map
chronological bool: If true, forces network to list in chronological order instead by relevance sorting.
text string: String to match. Algorithm used may differ between networks.
tags list: List of exact phrases to be searched for
author string: Filtering results with author, sender, or equivalent.
sources list:
List of allowed resources in format of protocol://host-or-function/path/.
No whitelist applied if empty.
For path, only exact match or sub-content are included.
e.g.
https://example.com/,
theprotocols://{username}@{network}/chat/,
theprotocols://{username}@{network}/mail/Trash/...
languages list: Languages allowed in ISO 639 format. e.g. en, fr, es...
time map: Map with since and until in YYYY-MM-DD hh:mm
region map:
All keys are optional unless any more specific one is declared.
If not applicable but required, declare with empty value.
Keys are: country, state (state/territory/province), county, city, district, street, name.
limit integer: Max number of results
Response Map
Response map consists of cursor and results. results is a list