![]() ![]() ![]()
You will note that my version required ‘.sh’ at the end of the file, rather than how it is listed in the KB. The essential line is the source command, which I discovered by looking at this Knowledge Base article. The PATH lines similarly aren’t necessary in the most basic versions, but might be for any other Linux commands you expect to run. This might not be necessary just to run the tsm commands, but it will pay dividends if you are doing anything more complex along with it. The first line tells it to use the BASH interpreter, rather than the most basic shell. #Tradeskillmaster api down how to#The early lines tell the the operating system how to set up the environment, which is essential because it’s possible the script is run in contexts where the environment is different than the interactive shell you are logged into. Without them, you’ll get a message like: line 3: tsm: command not found You’ll notice that the script has several lines before it gets to any tsm commands. # any other tsm commands or other bash commands PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:usr/bin:/sbin:/bin" To run tsm commands from a script, we have to make sure our environment is always specified correctly. And even then it may still fall over when run via cron. It’s very common for the same set of commands you just typed in to not work at all when you put them in a shell script. Shell scripting on Linux, particularly when you want to schedule using cron, have a lot more quirks than you’d think at first glance. This post discusses how to get things working on Linux – if you need to automate on Windows, take a look here. #Tradeskillmaster api down windows#But both Windows and Linux have their own quirks, especially when you want to fully automate a process. Finding the commands to do what you want to do in Tableau – that’s the easy part these days. ![]() Things might have been posted or bought from the AH since the last time the scan was run.One of the great advantages of tsm is that it is a fully functioning shell / command-line system that works the same on Linux or Windows. In addition to this the TSM API may not be completely up to date. It weights the current minimum price at 1/3 and the current DBmarket at 2/3. This gives my profitability calculations better accuracy over longer horizons, but worse right now. I use a weighted average of minbuyout and dbmarket. Why is the price different to the current AH price? Make sure you go through all of your old versions and delete they API key from them and remove the API key from the B1 cell whenever you’re not using the spreadsheet and you should be good. This will also happen in any older versions of my spreadsheet you have copied, even if they are in the thrash folder. The google Sheets import function automatically calls the TSM API atleast 3 times every hour regardless of if your sheet is open or not. Realm names with two words are written using a dash between the words like this: shattered-hand In addition you should ignore any special characters e.g. This is usually only a problem in the google sheets version and it has several causes:įor #1 just double check that you have pasted correctly.įor #2 you solve it by checking the realm name. #Tradeskillmaster api down download#If you want to run the spreadsheet in excel make sure you download the Excel Version. The Google sheets version of the spreadsheet only works when used through google sheets. Downloading the Google sheets version to excel This is a list of the most common issues and questions that you can encounter using my spreadsheet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |