https://bugs.kde.org/show_bug.cgi?id=491353

Thomas Baumgart <tbaumg...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Thomas Baumgart <tbaumg...@kde.org> ---
I was able to extract data from coingecko.com using the latest master versions
of Alkimia and KMyMoney. Older versions may not be able to extract the date
because they don't support %u as date format but the price should be doable.

Online quote settings generated with Alkimia 8.1.72-45fc9b7-webengine-qtnetwork

URL:
https://api.coingecko.com/api/v3/simple/price?ids=%1&vs_currencies=%2&include_last_updated_at=true
Download mode: Default
Data format: HTML
Identifier: 
Select by: Symbol
Price: :{"[^"]+":([^,]+),
Price decimal separator: Period (.)
Date: "last_updated_at":(\d+)
Date format: %u
Default identifier: 
Remote source: not checked


Result:

Fetching URL
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_last_updated_at=true...
URL found:
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_last_updated_at=true...
Symbol found: ''
Price found: '60665' (60.665)
Date found: '1723296361'
Date format found: '1723296361' -> 'Sa. Aug. 10 2024'
bitcoin usd bitcoin usd Sa. Aug. 10 2024 60665

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to