1. #1
    Bsims
    Bsims's Avatar Become A Pro!
    Join Date: 02-03-09
    Posts: 620
    Betpoints: 681

    API Request

    One poster has indicated that he has written an API for Fairlay and now extols the virtues of Fairlay in the Bitcoin sub forum. Since the Think Tank is a place to share knowledge and the biggest drawback to Fairlay is their interface, I would like to see the poster share his code by posting it here.

  2. #2
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    are you referring to me (One poster LOL) and if you are just ask me what it is you want. I am glad to share it usually

    let me know what you are after and I will tell you if I have it available. I will also tell you that Fairlay has expanded their offerings for non api users and now you can create a market in any category without an api.
    you can find the api documentation here and here is also a github for any api codes they have readily available

    https://github.com/Fairlay/FairlayPrivateAPI#16
    https://fairlay.com/api/

    need anything else let me know

  3. #3
    yak merchant
    yak merchant's Avatar Become A Pro!
    Join Date: 11-04-10
    Posts: 103
    Betpoints: 6059

    Quote Originally Posted by Bsims View Post
    One poster has indicated that he has written an API for Fairlay and now extols the virtues of Fairlay in the Bitcoin sub forum. Since the Think Tank is a place to share knowledge and the biggest drawback to Fairlay is their interface, I would like to see the poster share his code by posting it here.
    What kind of passive aggressive BS request is this. If I spent a week writing the code I’d probably tell you to pound sand. Is the SBR lynch mob supposed to force him to share his work or he will be banned?
    Points Awarded:

    danshan11 gave yak merchant 1 Betpoint(s) for this post.


  4. #4
    jablo1312
    jablo1312's Avatar Become A Pro!
    Join Date: 03-22-11
    Posts: 39
    Betpoints: 1140

    Quote Originally Posted by yak merchant View Post
    What kind of passive aggressive BS request is this. If I spent a week writing the code I’d probably tell you to pound sand. Is the SBR lynch mob supposed to force him to share his work or he will be banned?
    Maybe b/c he thinks the poster may have something to gain from promoting Fairlay.

  5. #5
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    Quote Originally Posted by jablo1312 View Post
    Maybe b/c he thinks the poster may have something to gain from promoting Fairlay.
    yeah I have a lot to gain from promoting fairlay, they pay a million dollar a post like KIM K on instagram, LMAO

    fairlay has bad ass odds FACT
    fairlay pays out quick FACT
    fairlay UI sucks FACT
    fairlay is hard as hell to read if its 1st q 1h full game and other stuff makes it suck on that FACT
    fairlay stupid new thing with the -129.7 and you try to place a bet on it and it refuses is because it is actually -129.8 that is stupid and a PIA

    and no anyone that wonders, I receive absolutely nothing from fairlay and have zero interest if you want to play there or not, I dont even have an affiliate account and believe me I am not a tout, affiliate guy, that is not my speed for anyone that knows me! BSims is a big ass cry baby for no reason, I tried to be nice to the guy but he is not having it, he is just mad at me because he thinks the water temp of his coffee somehow is indicative of how much gas is in his car and I have called him out on it over and over.

    PLEASE PLEASE read the signal and the noise, BSims and quit hating. I really try to share and help people and in turn of course help myself.

  6. #6
    yak merchant
    yak merchant's Avatar Become A Pro!
    Join Date: 11-04-10
    Posts: 103
    Betpoints: 6059

    Quote Originally Posted by jablo1312 View Post
    Maybe b/c he thinks the poster may have something to gain from promoting Fairlay.
    And he might (I doubt it), still the only person that can fulfill said request is the “one poster” that has the code so regardless of if affiliatied or not it seems like asking the person that has the code would be prudent unless the whole purpose of the post was to kick the nest.

  7. #7
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    if he told me what code he wants and if I have it I will gladly share it, there is nothing special I wrote I mainly used the github and did it myself from there, its not some secret code LOL, he says what he wants and I will gladly share it if he wants it no problem.

  8. #8
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    if he is referring to the skin for the sorry gross UI they have, I have not finished it and am using a very basic looking UI that is as bad if not worse than fairlays!
    here is a screenshot of the UI I am using right now, this is the current stage of the skin I am working on


  9. #9
    jablo1312
    jablo1312's Avatar Become A Pro!
    Join Date: 03-22-11
    Posts: 39
    Betpoints: 1140

    Quote Originally Posted by danshan11 View Post
    yeah I have a lot to gain from promoting fairlay, they pay a million dollar a post like KIM K on instagram, LMAO

    PLEASE PLEASE read the signal and the noise, BSims and quit hating. I really try to share and help people and in turn of course help myself.
    Sims clearly has a history of having actual technical acumen, so please read a pop lit book with an entire chapter devoted to Haralabob PR!!

  10. #10
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    thanks i will

  11. #11
    Bsims
    Bsims's Avatar Become A Pro!
    Join Date: 02-03-09
    Posts: 620
    Betpoints: 681

    Quote Originally Posted by yak merchant View Post
    What kind of passive aggressive BS request is this. If I spent a week writing the code I’d probably tell you to pound sand. Is the SBR lynch mob supposed to force him to share his work or he will be banned?
    First, apologies for not responding sooner, it was a tough week medically. My request was serious. Danshan11 has posted a lot indicating that he has developed an API for Fairlay. He seemed to be headed toward cleaning up their interface and making it available on his site. Unfortunately, SBR administration warned him that doing so would violate their rules. I've run in to this and can no longer post links to my blog. Yes, I'm one of the many people who willingly share their work with others. Yak merchant, you obviously aren't a sharer. That's fine, it's your choice.

    Danshan11 also mentioned that with his API, he became a market maker on Fairlay. He regularly extols their virtue. So I assume he wants to drive bettors to their site. I do look at their site periodically and they do have better odds in some cases. But the clumsiness and clutter make their site incompatible with the way I bet.

    I'm use to sites that have a simple table of games and odds on one page. I save the page and have programs that parse the offers, saving them in a file format that I can use. My programs then pass these odds (from multiple books), producing a spreadsheet with the best wagers. Then I manually need to enter these wagers on the appropriate book. Speed is of the essence because lines move (mostly against me). Thus, I don't have time to mess around with Fairlay. But, if I had an API, that would make a big difference.

    So, why not just write my own? Primarily it's a time issue. There is also a technology issue. I don't use modern languages. I've been doing this stuff for 50 years and do my work in Basic (specifically Power Basic). I would like to learn something like Python, but it's pretty low on my to do list. Hence, I'm looking for an easy start on an API.

    To Danshan11. I don't hate you. Yes, you drive me a little nuts because you have a tendency to express your opinion after every post. That's your choice, but I don't find it useful. On the other hand, I admire the effort you've made in developing the API for Fairlay. I wish I had that amount of energy and enthusiasm.

    Gentlemen, after 50 years of gambling, I'm skeptical. I see a lot of new and presumably young people on these sites. Be very careful. Trying to win at gambling is not easy and can be very expensive. Good luck.

  12. #12
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    in reality Fairlay is basically a back end system (bones if you will) they really need a good working interface and who knows there probably already is some, they just look like their own sportsbook or some piggy backing like everyone does off Pinnacle. I was market making about 1000 markets a week and honestly the success is minimal, the lines are very tight and I am not seeing enough line value to account for the work. I have actually stopped market making and now am just modeling like normal and using fairlay to get -105s instead of -108s which is a huge help on modeling. I would make a fairlay front end but in reality nobody needs it and what would be the point. I mean if people are still betting at Bovada and others at -110 they obviously dont care and dont need another front end.

  13. #13
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    Quote Originally Posted by Bsims View Post
    Gentlemen, after 50 years of gambling, I'm skeptical. I see a lot of new and presumably young people on these sites. Be very careful. Trying to win at gambling is not easy and can be very expensive. Good luck.
    this is a very true point and all these guys on here saying they can pick winners and dont beat the line are the ones that make these people believe in the "pie in the sky". The reason why people dont focus on beating the line is because they cant, its that simple, its easier to pick a winner than to tell me what the line will be. Any gambler worth a grain of salt will tell you what number they got on a game way before any bookmaker puts out a number and if they cant they are not worth reading. I read a story one time about a guy who was interviewing as a capper for a syndicate. He had 7 winning seasons and was winning at some crazy win% ATS and he thought the syndicate will hire me. He went to an interview and they asked him who you like in the Raiders game and he said Raiders, the syn said good, then they asked him what line you got on that game, he said I dont make my own lines, and they said have a good day! Toronto and Orlando play tomorrow and if you dont have a line for that game now before any lines come out, you dont have a fricken chance, period!
    for a chance to win
    you must set good fair lines OF YOUR OWN
    for a real chance to win
    you must set good fair lines OF YOUR OWN
    bet enough games to cover variance 100s a day (like pinnacle does)
    anything else will most likely long term lose, yes there is a 1 in a zillion guy who just wins no matter what, I know him I seen him at the crap table hitting hard 10s all night and walking away 200k richer, smartest guy in the room, yeah fucken right~!

  14. #14
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    and to Bsims, read the noise book, 99% of the stuff you discuss and talk about is noise, just plain old noise.

    here is a perfect example of noise, just plain old noise, -5 teams in the NFL get crushed, they flat out get crushed

    out of 245 games they cover 107 times, you know what this means NOTHING, FLAT OUT NOTHING, NOISE

    -5 FAVORITES
    ATS: 107-131-8 (-1.00, 45.0%
    -4.5 FAVORITES
    ATS: 121-144-0 (-0.55, 45.7%)

    NOW MAGIC -4 FAVORITES
    ATS: 206-181-9 (0.54, 53.2%)


    THESE things are just noise, plain ol simple noise and there are tons of them, some call them systems but long term they are dead, just noise

  15. #15
    u21c3f6
    u21c3f6's Avatar SBR PRO
    Join Date: 01-17-09
    Posts: 755
    Betpoints: 1773

    First, there is more than one way to do most anything and that includes how one can approach trying to be a profitable gambler.

    I will give my answers to some of the points made in a post above but to explain the rationale would take far more time than I am willing to spend.

    Picking winners: My focus has nothing to do with picking the winner of an event.

    Beating the line: My focus has nothing to do with beating the line, sometimes I do, sometimes I don’t. Can I make selections that will beat the line? If I set my focus to beat the line, I am pretty sure that I could do that. The problem is while beating the closing line I would probably be unprofitable. I know this because I am usually on the other side of the ones that beat the line but I am profitable which means that if you were on the side that beat the line on those events you would be unprofitable. Again, no one pays you for CLV and positive CLV does not mean you have an edge!

    Set your own lines: I do not set my own lines!!! Again, my focus is not to try to pick the “winner”. I know, so what do I do? This is actually a much larger discussion than I care to write about. I know in a previous post I wrote that I would share how I started but I have changed my mind. Ever try to discuss something that you have over 40 years of successful experience with someone that barely has their feet wet? Doesn’t usually go over very well and then they tell you that your experience doesn’t matter that much anyway!!!

    Variance: You do realize that if you have an edge, variance means that you will tend to have more positive runs than negative runs. If however, you keep having negative runs, that is no longer variance. If everything that you believe says that you should be profitable but you are not, IMO only someone that has a very closed mind would not at least take notice and question their beliefs at least just a little.

    Once again, sports betting is not a fixed odds casino game.

    Joe.
    Nomination(s):
    This post was nominated 1 time . To view the nominated thread please click here. People who nominated: dpark80

  16. #16
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    you dont pick winners and you dont beat the line? What the heck do you do, one sentence should suffice!

    also I should clarify, I dont mean to sound so concrete, sure people win tons of ways, I think that most of them give false hope and false ideas of what betting success is, probably why I sound so concrete, I say if you win 8 out of 10 games and dont even care about the closing line, go crazy withdraw your 401k money and fire away on all cylinders, you are a winner.

    you talk about 50 years experience and that is awesome, I wish I had that kind of experience but I dont. I would say it is very valuable but also the game has changed drastically from anything near even 10 years ago, I am 45 years old and when I was 15 I use to wait everyday for the newspaper on wednesday to get the injuries and standings for the NFL. I think that method today might not work out, not to say some could make it with that info alone.
    Last edited by danshan11; 11-19-18 at 02:41 PM.

  17. #17
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    Quote Originally Posted by u21c3f6 View Post
    First, there is more than one way to do most anything and that includes how one can approach trying to be a profitable gambler.

    I will give my answers to some of the points made in a post above but to explain the rationale would take far more time than I am willing to spend.

    Picking winners: My focus has nothing to do with picking the winner of an event.

    Beating the line: My focus has nothing to do with beating the line, sometimes I do, sometimes I don’t. Can I make selections that will beat the line? If I set my focus to beat the line, I am pretty sure that I could do that. The problem is while beating the closing line I would probably be unprofitable. I know this because I am usually on the other side of the ones that beat the line but I am profitable which means that if you were on the side that beat the line on those events you would be unprofitable. Again, no one pays you for CLV and positive CLV does not mean you have an edge!

    Set your own lines: I do not set my own lines!!! Again, my focus is not to try to pick the “winner”. I know, so what do I do? This is actually a much larger discussion than I care to write about. I know in a previous post I wrote that I would share how I started but I have changed my mind. Ever try to discuss something that you have over 40 years of successful experience with someone that barely has their feet wet? Doesn’t usually go over very well and then they tell you that your experience doesn’t matter that much anyway!!!

    Variance: You do realize that if you have an edge, variance means that you will tend to have more positive runs than negative runs. If however, you keep having negative runs, that is no longer variance. If everything that you believe says that you should be profitable but you are not, IMO only someone that has a very closed mind would not at least take notice and question their beliefs at least just a little.

    Once again, sports betting is not a fixed odds casino game.

    Joe.
    I have a statement and a simple question
    we all know the books end up on one side or the other of every game so my question is how do they make money if its not beating the line? if the books have super brains (which they do) why work so hard putting up lines on both sides if they know the Bears will win, just put up lines on the Vikings and wait for who likes the Vikings if no one does it does not matter cause the Bears are going to win and they know it just like you do.

  18. #18
    u21c3f6
    u21c3f6's Avatar SBR PRO
    Join Date: 01-17-09
    Posts: 755
    Betpoints: 1773

    Quote Originally Posted by danshan11 View Post
    I have a statement and a simple question
    we all know the books end up on one side or the other of every game so my question is how do they make money if its not beating the line? if the books have super brains (which they do) why work so hard putting up lines on both sides if they know the Bears will win, just put up lines on the Vikings and wait for who likes the Vikings if no one does it does not matter cause the Bears are going to win and they know it just like you do.

    Did you even comprehend what I wrote? Where did you come up with the idea that I claimed to know the winner of any particular event?

    This is why IMO that you cannot have a rational discussion. You think you have the one and only right answer and anytime you feel that your beliefs are being questioned and/or challenged, you go off the deep end.

    Again, if what you are doing is working and you are successful, then continue doing that. Nothing I say should shake your confidence if you are successful just like nothing anyone posts to these boards will change what I have successfully been doing.

    Joe.

  19. #19
    u21c3f6
    u21c3f6's Avatar SBR PRO
    Join Date: 01-17-09
    Posts: 755
    Betpoints: 1773

    Bsims, my apologies for contributing to this thread losing your focus.

    Joe.
    Points Awarded:

    semibluff gave u21c3f6 1 Betpoint(s) for this post.


  20. #20
    Bsims
    Bsims's Avatar Become A Pro!
    Join Date: 02-03-09
    Posts: 620
    Betpoints: 681

    Quote Originally Posted by danshan11 View Post
    and to Bsims, read the noise book, 99% of the stuff you discuss and talk about is noise, just plain old noise.
    I did buy and read his book when it was published in 2012. First, thanks for reading and understanding my stuff. I had hoped to share my previous work with others and garnering decent feedback. I've dedicated tens of thousands of hours to this effort since retiring two decades ago. But there is little interest out there. In addition, as I've started digging through past projects I'm finding a renewed interest in pursuing them more for my own (and a few others) benefit.

    I think the examples you used are akin to data mining as well as noise. Yes, I tend to do this early in a project (although I'm skeptical about the value of data mining in general). But, this only provides one indicator. I believe developing a numbers based system requires generating multiple indicators and only selecting situations where they agree.



  21. #21
    Bsims
    Bsims's Avatar Become A Pro!
    Join Date: 02-03-09
    Posts: 620
    Betpoints: 681

    Quote Originally Posted by u21c3f6 View Post
    Bsims, my apologies for contributing to this thread losing your focus.

    Joe.
    No problem Joe. All threads should not wonder off topic and die early. If someone has something useful to say, they should start a new thread, get a few relevant responses, and move on.

    BTW, you contributed one of the two most insightful posts I've ever read in Think Tank. One of those where I immediately realized that would have never occurred to me. I did look back to try to find it but invested too much time unsuccessfully. The review of previous threads did remind me that there are about a half dozen very smart guys posting here. The rest are just "noise".

  22. #22
    oilcountry99
    oilcountry99's Avatar SBR PRO
    Join Date: 08-29-10
    Posts: 499
    Betpoints: 3421

    Quote Originally Posted by u21c3f6 View Post
    First, there is more than one way to do most anything and that includes how one can approach trying to be a profitable gambler.

    I will give my answers to some of the points made in a post above but to explain the rationale would take far more time than I am willing to spend.

    Picking winners: My focus has nothing to do with picking the winner of an event.

    Beating the line: My focus has nothing to do with beating the line, sometimes I do, sometimes I don’t. Can I make selections that will beat the line? If I set my focus to beat the line, I am pretty sure that I could do that. The problem is while beating the closing line I would probably be unprofitable. I know this because I am usually on the other side of the ones that beat the line but I am profitable which means that if you were on the side that beat the line on those events you would be unprofitable. Again, no one pays you for CLV and positive CLV does not mean you have an edge!

    Set your own lines: I do not set my own lines!!! Again, my focus is not to try to pick the “winner”. I know, so what do I do? This is actually a much larger discussion than I care to write about. I know in a previous post I wrote that I would share how I started but I have changed my mind. Ever try to discuss something that you have over 40 years of successful experience with someone that barely has their feet wet? Doesn’t usually go over very well and then they tell you that your experience doesn’t matter that much anyway!!!

    Variance: You do realize that if you have an edge, variance means that you will tend to have more positive runs than negative runs. If however, you keep having negative runs, that is no longer variance. If everything that you believe says that you should be profitable but you are not, IMO only someone that has a very closed mind would not at least take notice and question their beliefs at least just a little.

    Once again, sports betting is not a fixed odds casino game.

    Joe.
    Joe, I wish you'd give it a try, most of us would probably learn something and appreciate your efforts. Thanks for posting.
    Points Awarded:

    semibluff gave oilcountry99 1 Betpoint(s) for this post.


  23. #23
    oilcountry99
    oilcountry99's Avatar SBR PRO
    Join Date: 08-29-10
    Posts: 499
    Betpoints: 3421

    Bsims...I appreciate your information as well!

  24. #24
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    my question is still out there and I feel legitimate, if its possible to just pick more winners than losers than why does Pinnacle offer lines on both sides, even if they are going to end up taking a position on a game they know is going to lose?

  25. #25
    lovefreemoney
    lovefreemoney's Avatar Become A Pro!
    Join Date: 02-12-15
    Posts: 18
    Betpoints: 3511

    danshan11, been reading though some of your posts on using the fairlay api, good stuff!
    I have some coding experience and just started making some simple requests to the API. I'm getting a coded response, but I'm not sure I'm sending the correct userID in my request.
    The doc says to use the ID from the API section in my account, which is is 7 digit number. It also says to use 1001 if the API Account ID is 1? I have no idea what I should be sending as my userID.

    Any help would be much appreciated.

  26. #26
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    https://fairlay.com/account/

    at the bottom is your fairlay user ID
    its 7 digits and starts with a 1
    and for the code
    userId="XXXXXXX"; the exact seven digits go here

    i hope that helps but fairlay is a big waste of your time, they have zero traffic for market makers, I mean it is easy to see zero traffic just look at the highest matched volume and you can see very limited traffic. I assume all those market makers on there are from countries where making 75 cents a day is a good income.
    Last edited by danshan11; 12-31-18 at 01:23 PM.

  27. #27
    tsty
    tsty's Avatar Become A Pro!
    Join Date: 04-27-16
    Posts: 464
    Betpoints: 4009

    Lol i would bet 100k that joe isnt a winner

    He sounds dumber the more posts he does

  28. #28
    pretentiousGuy
    pretentiousGuy's Avatar Become A Pro!
    Join Date: 09-13-18
    Posts: 95
    Betpoints: 745

    Quote Originally Posted by tsty View Post
    Lol i would bet 100k that joe isnt a winner

    He sounds dumber the more posts he does
    Your dick is huge.

  29. #29
    danshan11
    I am good at coin flips, I really am!
    danshan11's Avatar SBR PRO
    Join Date: 07-08-17
    Posts: 3,572
    Betpoints: 5035

    tsty is drunk posting, he says all kinds of crazy shit, he just instigates shit for no apparent reason. he rarely says anything more than "you are stupid", he rarely answers questions or be specific and literally every time he does the whole forum is like WHAT!!!!!! He needs AA and for sure a few math classes, he has his zeros all messed up, he says he bets 25,000,000 per game, maybe he is talking African money where 25,000,000 is 8 US dollars!

Top