hello i need to call multiple api with different methode name for the same
informations.

i 'd like to create somme dictionnaire or some things call vocabulary that
easy to add api provider

like

api = get_api(providername)
res = api.providerA["method"](params)

with

providerA={'method': get_some,  other_method:get_other)

is it possible and what is the practices ?

regards

T.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPiE3MFf8xo0pe04C%2B0YiC5Me0%2BiVpycWedxS-viw3KfXLUq0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to