API,以获取货币code为国家code /名称 [英] Api to get currency code for country code/name

查看:271
本文介绍了API,以获取货币code为国家code /名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我的购物网站,我需要实现一个自动的货币转换,我有当前用户的国家code / name.Is有任何API方法来获取货币code,为用户的国家?

For my shopping site I need to implement an automatic currency converter and I have the current user's country code/name.Is there any api methods to get the currency code for the user's country?

推荐答案

如果你正在使用Python,我建议你看看通天塔,这很可能有你需要的。

If you're working with python, I'd suggest you look into babel, which may well have what you need.

http://babel.pocoo.org/

这篇关于API,以获取货币code为国家code /名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆