Statistics Sweden SCB API call was made, but unfortunately, no data was retrieved

I am having trouble accessing the actual values of the data in my table, as all I can see is the dates in the JSON output generated.

The specific link I am using is:

"http://api.scb.se/OV0104/v1/doris/en/ssd/START/FM/FM5001/FM5001A/FM5001SDDSPM"

This issue seems to persist with other similar requests to the API as well.

This question was asked four years ago without finding a solution unfortunately.

Here is a link to the same issue being discussed: API Call- Statistics Sweden

Any assistance would be greatly appreciated.

Thank you for your help in advance.

Answer №1

After reviewing the documentation, it appears that a GET request will only provide you with metadata; in order to retrieve the actual data, you need to send a JSON object using a POST request.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Basic ElasticSearch search query

Looking at the data provided: obj = { "ID": 4, "GUID": 4, "Type": "Movie", "Type": "Margin Call", } I'm curious if there is a straightforward way to search for all types of queries, such as: >>> es.search(index="avails", term="marg ...

I'm struggling to find the desired value using jq

My goal is to use jq to extract a specific value from the JSON response obtained with cURL. Here is the JSON data returned by cURL, and I am looking to retrieve the value "VALUE-I-WANT" without the quotes: [ { "success":{ "usernam ...

Determine the average and total monthly rainfall values using Python

My challenge lies in merging the datetime function with a custom-made class to extract and store rainfall data by year and month, as shown in the images. As I am new to this language, any guidance or recommendations on where to begin would be greatly appre ...

Mapping an array of dictionaries containing key-value pairs to a specific class using a string identifier

I am trying to work with an Array of objects that are retrieved from a string. The information is received in an encrypted form through an API call, and upon decryption, it takes the form of a JSON structure presented below: { "request_id”:”abcds ...

I'm looking to efficiently convert JSON or GeoJSON data into a Backbone model and then seamlessly transition that model into a Leaflet layer. Can anyone provide guidance on

As I work on refining layer definitions that can be added individually to a collection, my goal is to smoothly render the view or add them to a L.LayerGroup using the leaflet api. However, being new to JavaScript, I am uncertain about how to map the proper ...

Unable to interact with the checkout button on Shopee while using Selenium

Having trouble clicking the checkout button on Shopee as I am unable to proceed to the next step. Here is the HTML element: HTML : <button class="shopee-button-solid shopee-button-solid--primary " xpath="1"><span class="p ...

Troubleshooting issue: EJS loop not functioning correctly when handling JSON information

Having an issue with looping in an EJS file. Here's the data I'm working with: { "name": "Marina Silva", "info": [{ "periodBegins": "Sun Apr 14 23:48:36 +0000 2011", "periodFinishes": "Sun Apr 7 23:48:36 +0000 201 ...

Can PHP send back data to AJAX using variables, possibly in an array format?

My goal is to transmit a datastring via AJAX to a PHP page, receive variables back, and have jQuery populate different elements with those variables. I envision being able to achieve this by simply writing: $('.elemA').html($variableA); $('. ...

Using Interquartile Rules for Detecting and Replacing Outliers in Python

I've encountered an issue while trying to replace outliers using Interquartile Rules by setting upper and lower boundaries. The kernel is displaying an error message that says "Must specify axis=0 or 1." Below is the code snippet defining the functio ...

Extract information from an array located inside a nested object

My aim is to calculate the length of the skills array for each user individually. To begin, I have this JSON data: const txt = `{ "Alex": { "email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" da ...

Utilizing WireMock to simulate HTTP server responses. Error finding file with WireMock

Recently began using wiremock and encountered a situation where I need to mock a GET request with a specific json response. When including the json in the expected response like this; .withBodyFile("product.json")) I'm getting an error saying java. ...

What is the method to locate elements within a Python dictionary?

Within my collection of Python dictionary recipes, I need to identify key values and provide results based on their location within the structure. recipes = { 'recipe1':{ 'name': 'NAME', 'components&a ...

Troubleshooting: Issues with Matplotlib animation interactive zoom/pan functionality when using blitting

I have encountered an issue with the FuncAnimation feature in matplotlib when using blitting. Here is a simple example where I move a point along a sinusoidal line. The problem arises after performing an interactive zoom or pan operation, as the axes get ...

Deliver REST-API information on a webpage securely without revealing the API endpoint

I am new to the MEAN stack and have some questions regarding handling unauthenticated REST APIs. When accessing these APIs, I noticed that the end-points are exposed in the JS files which can potentially be exploited by abusers. Is there a way to prevent t ...

Guide on extracting JSON data from specific nodes using d3.js

Just starting out with d3.js and following the example of a simple molecule created by d3 at http://bl.ocks.org/mbostock/3037015. I have a couple questions: 1. How can I select multiple nodes within the molecule structure? 2. Once selected, how do I ext ...

Implementation of Json Writing

During the implementation of Json Write for my case class, which is used with squeryl and extends KeyedEntity, I encountered a problem. Here is a snippet of the case class: case class Order(fk_soc : Int, order_date: String, date_creation: Timestamp,fk_uth ...

The Selenium element stubbornly refuses to be clicked, despite being patiently waited for

I'm facing a challenge where I need to open a form, wait for all of its elements to be loaded, and then fill in one of the fields within the form. As the form is loading, I have set up a WebdriverWait to explicitly wait for the element to become click ...

The Hadoop 2.7.3 Streaming Jar was found to be invalid

I have just started learning about Hadoop and attempted to execute a basic program using this guide. After transferring the local sample data to hdfs, I encountered an issue during my map reduce job when running the command provided in the official Apache ...

Ways to prevent Scrapy from re-crawling URLs that have already been

Currently, my web crawler script is structured as follows: def parse: ....... ........ Yield(Request(url=nextUrl,callback=self.parse2)) def parse2: ....... ........ Yield(Request(url=nextUrl,callback=self.parse3)) def ...

Preserving and recovering shapes in OpenLayers

Background: I am brand new to OpenLayers, just hours old, so please bear with me. Basically, I have a map with some shapes drawn on it. It appears that I have multiple OpenLayer.Feature.Vector layers containing various OpenLayer.Geometry elements (like Li ...