|
12 | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | 13 | * General Public License for more details. |
14 | 14 | * |
15 | | - * You should have received a copy of the GNU General Public License |
| 15 | + * You should have received a copy of the GNU General Public License |
16 | 16 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
17 | 17 | * |
18 | 18 | * Authored by: Subhadeep Jasu <[email protected]> |
@@ -45,7 +45,7 @@ namespace Pebbles { |
45 | 45 | }; |
46 | 46 |
|
47 | 47 | private int currencyCount = 12; |
48 | | - public double[] muliplier_info; |
| 48 | + public double[] muliplier_info; |
49 | 49 |
|
50 | 50 | public signal void currency_updated (double[] currency_multipliers); |
51 | 51 | public signal void update_failed (); |
@@ -94,7 +94,7 @@ namespace Pebbles { |
94 | 94 | public bool request_multiplier (string coin_iso_a, string coin_iso_b, int index) { |
95 | 95 | var settings = Settings.get_default (); |
96 | 96 | var api_key = settings.forex_api_key; |
97 | | - var uri = """https://free.currencyconverterapi.com/api/v6/convert?q=%s_%s&compact=y&apiKey=%s""".printf(coin_iso_a, coin_iso_b, api_key); |
| 97 | + var uri = """https://free.currconv.com/api/v7/convert?q=%s_%s&compact=y&apiKey=%s""".printf(coin_iso_a, coin_iso_b, api_key); |
98 | 98 | var session = new Soup.Session (); |
99 | 99 | var message = new Soup.Message ("GET", uri); |
100 | 100 | double avg = 0.0; |
|
0 commit comments