<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Api on rostrum.blog</title>
    <link>https://www.rostrum.blog/tags/api/</link>
    <description>Recent content in Api on rostrum.blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <lastBuildDate>Thu, 02 Feb 2023 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://www.rostrum.blog/tags/api/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Wrapping PokéAPI with {trapinch}</title>
      <link>https://www.rostrum.blog/2023/02/02/trapinch/</link>
      <pubDate>Thu, 02 Feb 2023 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2023/02/02/trapinch/</guid>
      <description>tl;dr I’ve used the {httr2} R package to create {trapinch}, a package that wraps PokéAPI for fetching Pokémon data.
 Update
I had found a couple of older, non-{httr2} PokéAPI wrappers for R (see footnotes), but had somehow missed one that already uses {httr2}: see Ash Baldry’s {pokeapi} package, which he wrote months ago!
  {httr} me baby one more time The {httr2} package lets you talk to the internet.</description>
    </item>
    
    <item>
      <title>A Twitter bot with {rtweet} and GitHub Actions</title>
      <link>https://www.rostrum.blog/2020/09/21/londonmapbot/</link>
      <pubDate>Mon, 21 Sep 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/09/21/londonmapbot/</guid>
      <description>tl;dr I made @londonmapbot: a simple Twitter bot that uses the R package {rtweet}, GitHub Actions and the Mapbox API. Find the source on Github.
 London from (socially-distant) space I’ve wanted to make a Twitter bot for a while, but it seemed like Hard Work. Spoiler: it’s not.
So, I’ve made @londonmapbot: a completely unsophisticated proof-of-concept Twitter bot.
What does it do? It posts a satellite image from random coordinates in Greater London (well, from a bounding box roughly within the M25 motorway) on schedule.</description>
    </item>
    
  </channel>
</rss>