Skip to content

PxTools/PxWebApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4a489b6 · Dec 12, 2024
Nov 29, 2024
Mar 14, 2024
Aug 14, 2024
Nov 8, 2024
Oct 11, 2024
Dec 4, 2024
Dec 12, 2024
Dec 4, 2024
Dec 4, 2024
Dec 12, 2024
Jul 11, 2024
Dec 12, 2024
Dec 3, 2024
Mar 14, 2024
Dec 6, 2024
Dec 2, 2024
Apr 5, 2024
Sep 27, 2024
Oct 15, 2024
May 16, 2024
Dec 12, 2024
Dec 12, 2024
Jun 4, 2024

Repository files navigation

PxWeb ApiMentioned in Awesome Official Statistics

This is the official source code repository for PxWebApi. PxWeb is a nice web application for dissemination of statistical tables please read more abou it at the official web page on Statistics Sweden web site at www.scb.se/px-web.

Current activities

We are currently developing PxWebApi 2.0

Development notes

curl -i -H "API_ADMIN_KEY: test" -X 'PUT'  https://localhost:8443/api/v2/admin/database
curl -i -H "API_ADMIN_KEY: test" -X 'POST' https://localhost:8443/api/v2/admin/searchindex
curl -i -H "API_ADMIN_KEY: test" -X 'PATCH' -H 'Content-Type: application/json' -d '["TAB001", "TAB004"]' https://localhost:8443/api/v2/admin/searchindex

Code formatting

We use dotnet format to clean the source code. The build pipeline aslo checks for formatting error.

If you don't want to manually run dotnet format or Code Cleanup in Visual Studio you can use git pre-commit. After installing pre-commit for your operating system, run pre-commit installfrom the root of this repo and you're done.

The rules for formatting are set in the .editorconfig file. Visual Studio supports this automatically, and for VS Code we have the EditorConfig extension. More information on EditorConfig