Skip to content
Search a Write.as blog for posts that match a query
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
search.py
utils.py

README.md

Writeas-Search

Make sure you have the latest version of the Write.as API Library.

This will not work on anything before version 0.1.7.


All that is required is the alias of the collection you are searching and the query.

The search is case insensitive (which might change).

>>> posts = search('matt', 'golang')

>>> for post in posts:
      print(post['title'])
  
>>> How I built a multi-platform app

To see this integrated into a Flask app, go here.

You can’t perform that action at this time.