Skip to content

phucthuan1st/Socket_TraCuuTienTe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOCKET PROGRAMMING

LẬP TRÌNH SOCKET - TRA CỨU TIỀN TỆ

FIT@HCMUS

Contributer:

  • Nguyễn Phúc Thuần
  • Lê Trương Kinh Thành
  • Tô Trần Sơn Bá

Notice that the api_key will be expired by default after 15 days, so you will need to get new API Key automacally. You can follow these code to automacally update your data:

        #get API key automacally
        url = "https://vapi.vnappmob.com/api/request_api_key?scope=exchange_rate"
        API_key_request_data = requests.get(url).json()
        API_key = API_key_request_data["results"]

        #use API key get in above to request data
        url = "https://vapi.vnappmob.com/api/v2/exchange_rate/bid?api_key="
        request_url = url + str(API_key)
        recieve = requests.get(request_url).json()

The data will be dumped into a json file

Special Thanks to:

  • Mr. Lê Hà Minh
  • Mr. Nguyễn Thanh Quân
  • Mrs. Chung Thùy Linh

Contact for work:

Libraries used:

Documentaries:

More about this project

We build this project in two months, so it have some bugs and feature that we can do better, so if we have time, we will update it carefully. If you fork or clone this repository, please keep our credit as a reference for your stuff. This project is done by FIT@HCMUS students.

This project is only used for educational activities, commercial activities are prohibited

Releases

No releases published

Packages

No packages published

Languages