Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use a consistent argument structure and make a simple class or function for each provider that translates that to the specific API calls. They are very similar APIs. Maybe select the function call based on the model name.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: