gilankpam / wancak

Unofficial 1cak API
http://api-1cak.herokuapp.com/
GNU General Public License v2.0
6 stars 5 forks source link

Feature request: search post using specific keyword #2

Closed gojigeje closed 9 years ago

gojigeje commented 9 years ago

Another feature request, gan! Search post using specific keyword: http://1cak.com/search-0-jomblo <-- keyword is "jomblo" http://1cak.com/search-0-jomblo%20ngenes <-- keyword is "jomblo ngenes"

should be easy for you, gan :smile: sorry I'm still unable to contribute some code, didn't have any golang experience..

gilankpam commented 9 years ago

feature added

sorry lama, baru sempet huhuhu

gojigeje commented 9 years ago

nice gan!

tapi ane masih kurang faham gimana implementasi parameter pageid di search. ane coba isi &pageid=1 atau &pageid=2 malah eror:

{"message":"Posts not found","status":"error"}
gilankpam commented 9 years ago

page idnya dapet dari response sebelumnya

{  
    "page":{  
        "next":"1424046302"
    },
gojigeje commented 9 years ago

ah.. ane yang kurang teliti.. sipp.. perfect nih gan :+1: