-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.R
75 lines (51 loc) · 1.22 KB
/
env.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#*******************************************************************************
#*
#*Author: Dr. Nab Raj Roshyara
#*Date: 17.08.2021
#*Aim: Just to save all the Directory Path
#*
#*******************************************************************************
#***
#*
#* Install packages first
install.packages("httr")
install.packages("jsonlite")
#*****
#*
#*Define the directories
#*
#*
drive ="C:"
#starting point
start_wd =file.path(drive, "plentymarkets_restapi_with_R")
#country Dir
country_wd = file.path(drive, "01_countries")
#sales
sales_wd =file.path(drive,"02_sales")
#address
address_wd =file.path(drive, "03_addresses" )
#orders
order_wd =file.path(sales_wd,"01_orders")
#script
script_wd =file.path(startwd, "rscripts")
#*****
#*Plenty paths
#*
#*
basicpath ="your_rest_api_domain.com"
#****************************
#*
#*Define your user name and password here
#*
#*
plenty_username ="tesuser"
plenty_password ="testPassword!"
#******
#*
#*Define the other paths
#*
loginPath ="rest/login/"
#for order
orderPath ="rest/orders/"
#for country
countryPath ="rest/orders/shipping/countries/"