All Projects → michaelhenry → Rates

michaelhenry / Rates

Licence: MIT license
A currency rate converter App.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Rates

Cashify
💸 Lightweight currency conversion library, successor of money.js
Stars: ✭ 329 (+2430.77%)
Mutual labels:  converter, currency
SwiftUI-Currency-Converter
Currency Converter project coded by SwiftUI and Swift5
Stars: ✭ 56 (+330.77%)
Mutual labels:  converter, currency
Currencyviewer
Short python framework that dynamically displays and converts the cryptocurrencies in your Kraken wallet into equivalents fiat money.
Stars: ✭ 13 (+0%)
Mutual labels:  converter, currency
currency-converter
💰 Easily convert between 32 currencies
Stars: ✭ 16 (+23.08%)
Mutual labels:  converter, currency
Currencyconverter
Utilities for doing currency conversion with the Money library
Stars: ✭ 78 (+500%)
Mutual labels:  converter, currency
wikitable2csv
A web tool to convert Wiki tables to CSV 📈
Stars: ✭ 112 (+761.54%)
Mutual labels:  converter
schema2ldif
Schema 2 ldif : tool to convert .schema to .ldif files and mange them live into an openldap server
Stars: ✭ 14 (+7.69%)
Mutual labels:  converter
json2codable
A command line tool to generate a Swift Codable struct from a JSON document
Stars: ✭ 19 (+46.15%)
Mutual labels:  converter
instagram json viewer
Transforms Instagram's *.json / backup data - that you get via the Data Download Tool - to a readable format!
Stars: ✭ 41 (+215.38%)
Mutual labels:  converter
GoCurrency
Simple currency converter. Insert an amount, what currency to convert from and what currency to convert to.
Stars: ✭ 29 (+123.08%)
Mutual labels:  currency
crypto-monitor
Monitor the crypto currency rate
Stars: ✭ 71 (+446.15%)
Mutual labels:  currency
mcp3008.js
A node.js module for querying an mcp3008 analog/digital converter.
Stars: ✭ 24 (+84.62%)
Mutual labels:  converter
dressup
Dress up your unicode!
Stars: ✭ 22 (+69.23%)
Mutual labels:  converter
Excel2LaTeX
The Excel add-in for creating LaTeX tables
Stars: ✭ 914 (+6930.77%)
Mutual labels:  converter
currency-format
The «Price Format» extension for Magento 2
Stars: ✭ 18 (+38.46%)
Mutual labels:  currency
stockholm
💵 Modern Python library for working with money and monetary amounts. Human friendly and flexible approach for development. 100% test coverage + built-in support for GraphQL and Protocol Buffers transports using current best-practices.
Stars: ✭ 26 (+100%)
Mutual labels:  currency
fontify
Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.
Stars: ✭ 88 (+576.92%)
Mutual labels:  converter
godmt
Tool that can parse Go files into an abstract syntax tree and translate it to several programming languages.
Stars: ✭ 42 (+223.08%)
Mutual labels:  converter
CTR-tools
Crash Team Racing (PS1) tools - a C# framework by DCxDemo and a set of tools to parse files found in the original kart racing game by Naughty Dog.
Stars: ✭ 93 (+615.38%)
Mutual labels:  converter
bafi
Universal JSON, BSON, YAML, CSV, XML converter with templates
Stars: ✭ 65 (+400%)
Mutual labels:  converter

Header

CI Status Version

Rates 2 Rates 1

Listing Refreshing Delete Select Base Currency Add New Currency

API

This App uses api from Currency Layer, Please check their Documentation for more information.

SETUP

To configure the API, inside the Info.plist, under CurrencyLayer, replace #YOUR_API_KEY with your actual APIkey.

Example:  

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	...
	<key>CurrencyLayer</key>
	<dict>
		<key>APIKey</key>
		<string>#YOUR_API_KEY</string>
	</dict>
</dict>
</plist>

Unit Testing

This project uses the concept of mocking the request to avoid the hitting the server while still using the actual API request calls. All requests from the APIService are all hijacked and replaced with the mock ones.

You can see all the response of the hijacked request can be found on mock-resources/api for more info. The Path and File under mock-resources folder represents the Actual Endpoint of the Request

Example: endpoint: /api/list

- mock-resources:
  - api:
    - list:

I'm planning to improve this by having a Code Convention for writting HTTP Response like adding custom Response Headers, react to diffrent HTTPMethod and Query Params, make it pluggable and easy to use. Please check this Hijackr for more info in the Future.

Please see the RatesTests target for more info.

Test results can also be viewed from Travis CI - Rates

Notes

  • The App will only execute the actual refresh only after 30 minutes from the last successful request to avoid reaching the rate limitation of the API.

  • Due to the limitation of the Free API Key from Currency Layer, switching the Base Currency other than USD will alert an Error message like:

    Access Restricted. Your current Subscription plan does not support Source Currency Switching.

    Rate Limit Error

    And to solve this issue, you have to subscribed to their Paid Service.

TODO

  • Test cases for Failed request.
  • Localization
  • Empty State for List
  • Custom Keyboard Input
  • UI Test cases
  • Additional tests for different iOS and Device version.
  • Reacheability.

Contact

Fore more information, please contact [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].