Skip to content
Alexey Yakovlev edited this page Sep 18, 2023 · 2 revisions

Getting started

  1. Sign up to the pochta.ru website
  2. Get the access token for otpravka.pochta.ru
  3. Get free login and password for tariff.pochta.ru parcel tracker
  4. Install PochtaSdk nuget package
  5. Browse project unit tests to find the related usage patterns

Running project unit tests locally

  1. Create the folder named '.temp' in the root project directory
  2. Add the file 'vars.json' formatted as follows:
{
	"TEST_ENVIRONMENT_INITIALIZED": true,
	"TRACKING_USER_NAME": "your-user-name",
	"TRACKING_USER_PASSWORD": "your-password",
	"OTPRAVKA_ACCESS_TOKEN": "your-otpravka-api-token",
	"OTPRAVKA_USER_EMAIL": "your-email",
	"OTPRAVKA_USER_PHONE": "your-phone", 
	"OTPRAVKA_USER_PASSWORD": "your-password"
}
  1. Specify your access token and other credentials
  2. Make sure to add the '.temp' directory to the git ignore list so you don't accidentally commit your credentials.
Clone this wiki locally