How can I scrape text from a web page that is generated by javascript?

Mike Bonner bonnmike at gmail.com
Mon Jul 24 15:08:27 CEST 2017


Ah, nevermind. Only works for spot, but if you look at the api and get an
authentication key, then you should be able to request all kinds of
information through oath2

On Mon, Jul 24, 2017 at 7:05 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> If you need buy, sell and spot prices you can use this..
> -- spot price
> get url https://api.coinbase.com/v2/prices/spot?currency=USD
> -- buy price
> get url https://api.coinbase.com/v2/prices/buy?currency=USD
> -- sell price
> get url https://api.coinbase.com/v2/prices/sell?currency=USD
>
> Data is returned as json
>
> On Mon, Jul 24, 2017 at 6:48 AM, Roger Eller via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>>  There are three values at the top of this page that are updated by
>> javascript.  The $ amounts are not visible in the source.
>>
>> https://www.coinbase.com/charts
>>
>> What is the best approach to grab the text using LiveCode.  Is there a
>> browser widget command that will do it?
>>
>> Thanks.
>> ~Roger
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>


More information about the use-livecode mailing list