Find Jobs
Hire Freelancers

Convert small script from python/JS to C#

$10-30 USD

完了済み
投稿日: 5年以上前

$10-30 USD

完了時にお支払い
Need a script to work on C# program, here's the full scripts in python and JS Python - " def getInstagramUrlFromMediaId(media_id): alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_' shortened_id = '' while media_id > 0: remainder = media_id % 64 # dual conversion sign gets the right ID for new posts media_id = (media_id - remainder) // 64; # remainder should be casted as an integer to avoid a type error. shortened_id = alphabet[int(remainder)] + shortened_id return '[login to view URL]' + shortened_id + '/' " JS - " function getInstagramUrlFromMediaId(media_id) { var alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'; var shortenedId = ''; media_id = [login to view URL](0, [login to view URL]('_')); while (media_id > 0) { var remainder = bigInt(media_id).mod(64); media_id = bigInt(media_id).minus(remainder).divide(64).toString(); shortenedId = [login to view URL](remainder) + shortenedId; } return '[login to view URL]' + shortenedId + '/'; } "
プロジェクト ID: 18428447

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 5年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Hey. No problem, I am able to write you the method in a few minutes. greetings. Marek Kowalski.........
$10 USD 0日以内
2.2 (2 レビュー)
1.5
1.5

クライアントについて

LITHUANIAのフラグ
kaunas, Lithuania
4.9
8
お支払い方法確認済み
メンバー登録日:11月 10, 2016

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。