Skip to content

Commit

Permalink
fix some typos in README
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowing committed Feb 27, 2018
1 parent 4b5de4e commit 7abf4f9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# douban_fdw
A PostgreSQL's Foreign Data Wrapper (FDW) for retrieving the movie ranking data via the public API of douban.com. This FDW is written mainly in GO(cgo).
A PostgreSQL's Foreign Data Wrapper (FDW) for retrieving the movie ranking data via the public API of douban.com. This FDW is mainly written in GO(cgo).

This toy FDW was inspired by the following github repository
This toy FDW was inspired by the github repositories as follows

* [rapidloop/ptgo](https://github.com/rapidloop/ptgo)
* [umitanuki/twitter_fdw](https://github.com/umitanuki/twitter_fdw)
Expand Down Expand Up @@ -76,13 +76,16 @@ This toy FDW was inspired by the following github repository

2. the foreign table defined by douban_fdw can work properly only on the database of which the encoding being **UTF8**, because most of the data retrieved from douban.com are simplified chinese characters (encoded in UTF8)

3. according to the official manual, **the douban's public api can be called only 40 times per-api-per-hour for one ip address**
3. according to the official manual, **the douban's public api can only be called within 40 times per-hour from one ip address**, currently the user can only query the foreign table less than 40 time in a hour
4. it only supports the public movie api of "top250"(*/v2/movie/top250*) currently
## TODO
the following features are on the way
- [ ] the implementation of the rescan routine
- [ ] a local persistant buffer to solve the times limit issue of the douban API
- [ ] support the public api for retrieving data of chart "us_box"
- [ ] server-side encoding convert to support the database of which not being UTF8-encoded
- [ ] PostgreSQL 9.6+ support

0 comments on commit 7abf4f9

Please sign in to comment.