Fetch internal data

I’m new to Strapi and I’m trying to build an app. I’m using a single type (‘global-settings’) to store various data (e.g. field : ‘apiUrl’) that I’m planning to use internally, in a plugin.

I didn’t manage to figure out how I retrieve that data and use it within the plugin.

Can you please help me or indicate where I could find this information?

Thanks!

System Information
  • Strapi Version: 3.6.5
  • Operating System: MacOS
  • Database: MongoDB
  • Node Version: 14.7.1
  • NPM Version:
  • Yarn Version: