title: How to parse json data that provides another url with more data
body: <p>I'm a little confused how would I parse a json API that gives me 20 objects but then gives me a key of "next" having a url that gives me another 20 objects. I'm using this <a href="https://pokeapi.co/api/v2/pokemon/" rel="nofollow noreferrer">Pokemon API</a>. It gives me 4 keys: <strong><em>count, previous, results</em></strong> and <strong><em>next</em></strong>. I'm trying to display them all in a collection view but not all at the same time. I would like to load more when the collection view is scrolling down. </p>
  
  <p>I'm just trying to get the name at the moment. This is how my code looks like.</p>
  
  <p><a href="https://i.stack.imgur.com/G7Gzn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G7Gzn.png" alt="ViewController"></a> </p>
  
  <p><a href="https://i.stack.imgur.com/5lVFL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5lVFL.png" alt="Json func"></a></p>
  
  <p><a href="https://i.stack.imgur.com/kBJ9T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kBJ9T.png" alt="Pokemon Class"></a></p>
  
  <p>I get it to load the first 20 Pokemon in the collection view. However I don't know how to load the next 20 Pokemon or the 20 after. This is how the json file looks like if the link didn't work.</p>
  
  <p><a href="https://i.stack.imgur.com/n4p9S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n4p9S.png" alt="Pokemon api structure"></a></p>
  
  <p>I would appreciate any help given. :) </p>