[{"data":1,"prerenderedAt":297},["ShallowReactive",2],{"navigation":3,"\u002Fchangelog":43,"\u002Fchangelog-surround":293},[4,8,13,18,23,28,33,38],{"title":5,"path":6,"stem":7},"Getting started","\u002F","index",{"title":9,"path":10,"stem":11,"order":12},"Numbers","\u002Fnumbers","numbers",1,{"title":14,"path":15,"stem":16,"order":17},"Rent","\u002Frent","rent",2,{"title":19,"path":20,"stem":21,"order":22},"User","\u002Fuser","user",3,{"title":24,"path":25,"stem":26,"order":27},"Free numbers","\u002Ffree","free",4,{"title":29,"path":30,"stem":31,"order":32},"Webhooks","\u002Fwebhooks","webhooks",5,{"title":34,"path":35,"stem":36,"order":37},"Testing","\u002Ftesting","testing",6,{"title":39,"path":40,"stem":41,"order":42},"Changelog","\u002Fchangelog","changelog",7,{"id":44,"title":39,"body":45,"description":287,"extension":288,"meta":289,"navigation":290,"path":40,"seo":291,"stem":41,"__hash__":292},"docs\u002Fchangelog.md",{"type":46,"value":47,"toc":281},"minimark",[48,60,65,142,146,156,160,163],[49,50,51,52,59],"p",{},"The full history is in ",[53,54,58],"a",{"href":55,"rel":56},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Fonlinesim-python-api\u002Fblob\u002Fmaster\u002FCHANGELOG.md",[57],"nofollow","CHANGELOG.md",".",[61,62,64],"h2",{"id":63},"_311","3.1.1",[66,67,68,111,127],"ul",{},[69,70,71,72,76,77,80,81,84,85,6,88,91,92,95,96,84,99,102,103,106,107,110],"li",{},"Fixed: ",[73,74,75],"code",{},"wait_code"," no longer crashes on an operation without ",[73,78,79],{},"response","; types against the current API (",[73,82,83],{},"Profile"," ",[73,86,87],{},"number",[73,89,90],{},"country",", optional ",[73,93,94],{},"Operation[\"response\"]",", ",[73,97,98],{},"RentSms[\"code\"]",[73,100,101],{},"0"," for ",[73,104,105],{},"notify"," SMS, nullable free-list and payment fields); ",[73,108,109],{},"payment_history()[\"paylist\"]"," is kept when it arrives as a list.",[69,112,113,115,116,119,120,123,124,59],{},[73,114,75],{}," retries ",[73,117,118],{},"TRY_AGAIN_LATER"," (rate limit), ",[73,121,122],{},"ERROR_UNDEFINED"," and ",[73,125,126],{},"INTERVAL_CONCURRENT_REQUESTS_ERROR",[69,128,129,132,133,123,136,139,140,59],{},[73,130,131],{},"MockOnlineSim"," follows the backend more closely: rent reservation and confirmation, ",[73,134,135],{},"setOperationRevise",[73,137,138],{},"closeRentNum"," answers, missing vs wrong key — see ",[53,141,34],{"href":35},[61,143,145],{"id":144},"_310","3.1.0",[66,147,148],{},[69,149,150,151,153,154,59],{},"New: ",[73,152,131],{},", an offline fake of the API for your tests — see ",[53,155,34],{"href":35},[61,157,159],{"id":158},"_300","3.0.0",[49,161,162],{},"A rewrite with a new API; 2.x code does not run unchanged.",[66,164,165,184,198,201,216,229,239,254],{},[69,166,167,168,171,172,95,175,95,178,95,181,59],{},"One client, ",[73,169,170],{},"OnlineSim(api_key)",", with the sections as attributes: ",[73,173,174],{},"client.numbers",[73,176,177],{},"client.rent",[73,179,180],{},"client.user",[73,182,183],{},"client.free",[69,185,186,187,190,191,194,195,59],{},"Zero runtime dependencies (standard library ",[73,188,189],{},"urllib","), Python 3.9+, type hints with ",[73,192,193],{},"TypedDict"," results and ",[73,196,197],{},"py.typed",[69,199,200],{},"The key is sent as a Bearer header, never in the URL.",[69,202,203,204,95,207,95,210,95,213,59],{},"Typed errors: ",[73,205,206],{},"ApiError",[73,208,209],{},"NoNumberError",[73,211,212],{},"TransportError",[73,214,215],{},"TimeoutError",[69,217,218,221,222,95,225,228],{},[73,219,220],{},"numbers.wait_code"," has a real interval and timeout in seconds, ",[73,223,224],{},"keep_open",[73,226,227],{},"since",", and retries network errors.",[69,230,231,234,235,238],{},[73,232,233],{},"rent.get"," creates extendable rents by default (",[73,236,237],{},"extension=True",").",[69,240,150,241,244,245,244,248,95,251,59],{},[73,242,243],{},"user.set_webhook_url"," \u002F ",[73,246,247],{},"clear_webhook_url",[73,249,250],{},"webhook_logs",[73,252,253],{},"parse_webhook",[69,255,256,257,95,260,95,263,95,266,95,269,272,273,276,277,280],{},"Removed: the proxy API, ",[73,258,259],{},"numbers.repeat",[73,261,262],{},"numbers.service",[73,264,265],{},"numbers.service_number",[73,267,268],{},"rent.port_reload",[73,270,271],{},"user.create_empty",", the old free-number methods (use ",[73,274,275],{},"free.list","), ",[73,278,279],{},"Driver"," and the per-service classes.",{"title":282,"searchDepth":17,"depth":17,"links":283},"",[284,285,286],{"id":63,"depth":17,"text":64},{"id":144,"depth":17,"text":145},{"id":158,"depth":17,"text":159},"Release notes of onlinesim-python-api (PyPI onlinesimru).","md",{},{"order":42},{"title":39,"description":287},"Aqcj8M0RbCt2B0zKkJFjZyF8T9D8rlraoVOjoyeut-k",[294,295],null,{"title":24,"path":25,"stem":26,"description":296,"order":27},"Public numbers and their SMS — client.free. No API key needed.",1795164115455]