colonelpanic8 / okcupyd

A Library that enables programmatic interaction with okcupid.com, using okcupid.com's private okcupid JSON API and html scraping when necessary.
MIT License
110 stars 18 forks source link

function okc_post() is not defined in the repository #89

Closed CrazySyntax closed 7 years ago

CrazySyntax commented 7 years ago

Hi, I saw that the code uses several times the function okc_post. I searched for this function name repository, and I didn't find this function definition (something like def okc_post(...)). Can you show me this function?

colonelpanic8 commented 7 years ago

Yeah thats because its defined through meta programming

https://github.com/IvanMalison/okcupyd/blob/46f4eaa9419098f6c299738ce148af55c64deb64/okcupyd/session.py#L139